\ErrorException
Synopsis
class ErrorException
extends Exception
{
- // members
- protected $severity;
- protected $message;
- protected $code;
- protected $file;
- protected $line;
- // methods
- public void __construct()
- public final int getSeverity()
- public final string getMessage()
- public final Exception getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()
- final void __clone()
Hierarchy
Members
protected
- $code
—
int
The exception code - $file
—
string
The filename where the exception was created - $line
—
int
The line where the exception was created - $message
—
string
The exception message - $severity
—
int
The severity of the exception
Methods
public
- __construct() — Constructs the exception
- __toString()
- getCode()
- getFile()
- getLine()
- getMessage()
- getPrevious()
- getSeverity() — Gets the exception severity
- getTrace()
- getTraceAsString()