Gems Base \Exception class

package Gems
subpackage Exception
copyright Copyright (c) 2012 Erasmus MC
license New BSD License
since Class available since version 1.1

 Methods

__construct()

__construct(String $msg = '', integer $code = 200, \Exception $previous = null, string $info = null

Parameters

$msg

String

The message

$code

integer

the HttpResponseCode for this exception

$previous

\Exception

$info

string

Optional extra information on the exception

Returns optional extra information in the exception

getInfo() : String

Returns

String

Optional extra information on the exception

setInfo(string $info) 

Parameters

$info

string

 Properties

 

Optional extra information on the exception

$info : string

Default