BumbleDocGen / Technical description of the project / Class map / ObjectNotFoundException
ObjectNotFoundException class:
namespace BumbleDocGen\Core\Cache\LocalCache\Exception;
final class ObjectNotFoundException extends \Exception implements \Throwable, \Stringable
Exception is the base class for all Exceptions.
See:
- __construct - Construct the exception. Note: The message is NOT binary safe.
- __toString - String representation of the exception
- __wakeup
- getCode - Gets the Exception code
- getFile - Gets the file in which the exception occurred
- getLine - Gets the line in which the exception occurred
- getMessage - Gets the Exception message
- getPrevious - Returns previous Exception
- getTrace - Gets the stack trace
- getTraceAsString - Gets the stack trace as a string
- # __construct
// Implemented in Exception
public function __construct(string $message = "", int $code, \Throwable|null $previous = \null);
Construct the exception. Note: The message is NOT binary safe.
Parameters:
Name | Type | Description |
---|---|---|
$message | string | [optional] The Exception message to throw. |
$code | int | [optional] The Exception code. |
$previous | \Throwable | null | [optional] The previous throwable used for the exception chaining. |
See:
- # __toString
// Implemented in Exception
public function __toString(): string;
String representation of the exception
Parameters: not specified
Return value: string
See:
- # __wakeup
// Implemented in Exception
public function __wakeup(): mixed;
Parameters: not specified
Return value: mixed
- # getCode
// Implemented in Exception
public function getCode(): mixed|int;
Gets the Exception code
Parameters: not specified
See:
- # getFile
// Implemented in Exception
public function getFile(): string;
Gets the file in which the exception occurred
Parameters: not specified
Return value: string
See:
- # getLine
// Implemented in Exception
public function getLine(): int;
Gets the line in which the exception occurred
Parameters: not specified
Return value: int
See:
- # getMessage
// Implemented in Exception
public function getMessage(): string;
Gets the Exception message
Parameters: not specified
Return value: string
See:
- # getPrevious
// Implemented in Exception
public function getPrevious(): \Throwable|null;
Returns previous Exception
Parameters: not specified
Return value: \Throwable | null
See:
- # getTrace
// Implemented in Exception
public function getTrace(): array;
Gets the stack trace
Parameters: not specified
Return value: array
See:
- # getTraceAsString
// Implemented in Exception
public function getTraceAsString(): string;
Gets the stack trace as a string
Parameters: not specified
Return value: string
See: