PHP 클래스 Joli\Jane\OpenApi\Exception\ParseFailureException

상속: extends UnexpectedValueExceptio\UnexpectedValueException
파일 보기 프로젝트 열기: jolicode/jane-openapi

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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() 최종 공개 메소드

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

getPreviousYaml() 최종 공개 메소드

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