class UnexpectedValueException extends UnexpectedValueException implements ExceptionInterface (View source)

Exception for given parameters causing invalid/unexpected state on instantiation

Methods

fromSerializationTriggeredException(ReflectionClass $reflectionClass, Exception $exception)

No description

fromUncleanUnSerialization(ReflectionClass $reflectionClass, string $errorString, int $errorCode, string $errorFile, int $errorLine)

No description

Details

static UnexpectedValueException fromSerializationTriggeredException(ReflectionClass $reflectionClass, Exception $exception)

Parameters

ReflectionClass $reflectionClass
Exception $exception

Return Value

UnexpectedValueException

static UnexpectedValueException fromUncleanUnSerialization(ReflectionClass $reflectionClass, string $errorString, int $errorCode, string $errorFile, int $errorLine)

Parameters

ReflectionClass $reflectionClass
string $errorString
int $errorCode
string $errorFile
int $errorLine

Return Value

UnexpectedValueException