SilverStripe\RealMe\Exception
Synopsis
class Exception
extends Exception
{
- // constants
- const INVALID_IDENTITY_VALUE = 0;
- const FAILED_PARSING_IDENTITY = 1;
- const MISSING_NAMEID = 2;
- const MISSING_SESSION_EXPIRATION = 3;
- const MISSING_SESSION_INDEX = 4;
- const MISSING_ATTRIBUTES = 5;
- const MISSING_AUTHN_RESPONSE = 6;
- const NOT_AUTHENTICATED = 7;
- const MISSING_MEMBER_EXTENSION = 8;
- const PERSISTING_TRANSIENT_ID = 9;
- // Inherited members from Exception
- protected $message;
- protected $code;
- protected $file;
- protected $line;
- // Inherited methods from Exception
- public void __construct()
- public final string getMessage()
- public final Throwable getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()
Hierarchy
Extends
Constants
Name | Value |
---|---|
INVALID_IDENTITY_VALUE | 0 |
FAILED_PARSING_IDENTITY | 1 |
MISSING_NAMEID | 2 |
MISSING_SESSION_EXPIRATION | 3 |
MISSING_SESSION_INDEX | 4 |
MISSING_ATTRIBUTES | 5 |
MISSING_AUTHN_RESPONSE | 6 |
NOT_AUTHENTICATED | 7 |
MISSING_MEMBER_EXTENSION | 8 |
PERSISTING_TRANSIENT_ID | 9 |
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
Methods
Inherited from Exception
public
- __toString() — String representation of the exception
- getCode() — Gets the Exception code
- getFile() — Gets the file in which the exception was created
- getLine() — Gets the line in which the exception was created
- getMessage() — Gets the Exception message
- getPrevious() — Returns previous Exception
- getTrace() — Gets the stack trace
- getTraceAsString() — Gets the stack trace as a string