UnexpectedValueException
extends UnexpectedValueException
in package
implements
ExceptionInterface
Exception for given parameters causing invalid/unexpected state on instantiation
Interfaces, Classes and Traits
- ExceptionInterface
- Base exception marker interface for the instantiator component
Table of Contents
Methods
fromSerializationTriggeredException()
public
static fromSerializationTriggeredException(ReflectionClass $reflectionClass, Exception $exception) : self
Parameters
- $reflectionClass : ReflectionClass
- $exception : Exception
Tags
Return values
self —fromUncleanUnSerialization()
public
static fromUncleanUnSerialization(ReflectionClass $reflectionClass, string $errorString, int $errorCode, string $errorFile, int $errorLine) : self
Parameters
- $reflectionClass : ReflectionClass
- $errorString : string
- $errorCode : int
- $errorFile : string
- $errorLine : int