Method | Description | |
---|---|---|
__construct ( string $message = "", integer $code, Exception $previousJson = null, Exception $previousYaml = null ) | Construct the exception. | |
getPreviousJson ( ) : Exception | Get the previous exception from the Json serialisation attempt | |
getPreviousYaml ( ) : Exception | Get the previous exception from the Yaml serialisation attempt |
public __construct ( string $message = "", integer $code, Exception $previousJson = null, Exception $previousYaml = null ) | ||
$message | string | [optional] The Exception message to throw. |
$code | integer | [optional] The Exception code. |
$previousJson | Exception | [optional] The previous exception from the Json serialisation attempt |
$previousYaml | Exception | [optional] The previous exception from the Yaml serialisation attempt |
final public getPreviousJson ( ) : Exception | ||
return | Exception |
final public getPreviousYaml ( ) : Exception | ||
return | Exception |