PHP Class Joli\Jane\OpenApi\Exception\ParseFailureException

Inheritance: extends UnexpectedValueExceptio\UnexpectedValueException
Datei anzeigen Open project: jolicode/jane-openapi

Public Methods

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

Method Details

__construct() public method

Construct the exception.
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

getPreviousJson() final public method

Get the previous exception from the Json serialisation attempt
final public getPreviousJson ( ) : Exception
return Exception

getPreviousYaml() final public method

Get the previous exception from the Yaml serialisation attempt
final public getPreviousYaml ( ) : Exception
return Exception