fEnvironmentExceptionclassv1.0.0b
An exception caused by an environment error such a file permissions
Changes:
| 1.0.0b | The initial implementation 6/14/07 |
|---|
Genealogy
Class Tree
Exception | --fException | --fUnexpectedException | --fEnvironmentException
Inherited Variables
- Exception::$code
- The exception code
- Exception::$file
- The file the exception was thrown in
- Exception::$line
- The line the exception was thrown on
- Exception::$message
- The exception message
Inherited Methods
- fUnexpectedException::printMessage()
- Prints out a generic error message inside of a div with the class being 'exception {exception_class_name}'
- fException::__construct()
- Sets the message for the exception, allowing for string interpolation and internationalization
- fException::__get()
- All requests that hit this method should be requests for callbacks
- fException::compose()
- Composes text using fText if loaded
- fException::dump()
- Creates a string representation of any variable using predefined strings for booleans, NULL and empty strings
- fException::formatTrace()
- Gets the backtrace to currently called exception
- fException::getCSSClass()
- Returns the CSS class name for printing information about the exception
- fException::prepare()
- Prepares content for output into HTML
- fException::printMessage()
- Prints the message inside of a div with the class being 'exception %THIS_EXCEPTION_CLASS_NAME%'
- fException::printTrace()
- Prints the backtrace to currently called exception inside of a pre tag with the class being 'exception %THIS_EXCEPTION_CLASS_NAME% trace'
- fException::registerCallback()
- Adds a callback for when certain types of exceptions are created
- fException::reorderMessage()
- Reorders list items in the message based on simple string matching
- fException::setMessage()
- Allows the message to be overwriten
- fException::splitMessage()
- Splits an exception with an HTML list into multiple strings each containing part of the original message
- Exception::__construct()
- Creates the exception
- Exception::__toString()
- Converts the exception to a string
- Exception::getCode()
- Returns the exception code
- Exception::getFile()
- Returns the file the exception was thrown in
- Exception::getLine()
- Returns the line the exception was thrown on
- Exception::getMessage()
- Returns the exception message
- Exception::getTrace()
- Returns the backtrace leading up to the exception
- Exception::getTraceAsString()
- Returns the backtrace leading up to the exception as a string
