Class Exception
Base exception for all Core exceptions. Equals the default SPL exception but
enables enhanced Core\Fault
report functionality.
History
In Medusa Core 3.0, the standard SPL exceptions were used as base classes. With the introduction of advanced fault reports and debugging support in 3.1, a common base class with support for storing additional information in a unified way was required. All existing exceptions were changed to inherit from this class instead.
- Exception
- Core\Exception
Direct known subclasses
Core\Exception\Delegate
,
Core\Exception\InvalidArgument
,
Core\Exception\Loader
,
Core\Exception\OutOfBounds
,
Core\Exception\Runtime
,
Core\Exception\Storage
,
Core\Exception\UnexpectedValue
Indirect known subclasses
Core\Exception\BadFunctionCall
,
Core\Exception\BadMethodCall
,
Core\Exception\Parameter
,
Core\Exception\Remote
,
Core\Exception\Stream
,
Core\Exception\UndefinedKey
,
Core\Exception\Unsupported
,
Core\Exception\Configuration
,
Core\Exception\HTTPHeaders
,
Core\Exception\Inconsistency
,
Core\Exception\InvalidClassName
,
Core\Exception\InvalidDriver
,
Core\Exception\IO
,
Core\Exception\MissingParameter
,
Core\Exception\MutationAttempt
Package: Core\Exception
Since: 3.1
Requires: PHP 5.3
Version: 1.0
Located at Exception.inc.php
Methods summary
public
|
#
__construct( string $message = '', integer $errorCode = 0,
Initialises a new exception instance. |
public
array|null
|
Methods inherited from Exception
__toString()
,
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Properties summary
protected
array
|
$_context
Associated context information. |