October\Rain\Exception\ApplicationException
Overview
ApplicationException represents an application exception and these are not reported in the error log.
Extends
- October\Rain\Exception\ExceptionBase
- Exception
Implements
- Stringable
- Throwable
Public Properties
There are no public properties in the class.
Show inherited public properties
Inherited Public Properties
- $hint - message to help the user with troubleshooting the error (optional). (defined in October\Rain\Exception\ExceptionBase)
Protected Properties
There are no protected properties in the class.
Show inherited protected properties
Inherited Protected Properties
- $mask - used when this exception is acting as a mask, this property stores the face exception. (defined in October\Rain\Exception\ExceptionBase)
- $fileContent - relating to the exception, each value of the array is a file line number. (defined in October\Rain\Exception\ExceptionBase)
- $className - of the called Exception. (defined in October\Rain\Exception\ExceptionBase)
- $errorType - derived from the error code, will be 'Undefined' if no code is used. (defined in October\Rain\Exception\ExceptionBase)
- $highlight - cached code information for highlighting code. (defined in October\Rain\Exception\ExceptionBase)
- $message - (defined in Exception)
- $code - (defined in Exception)
- $file - (defined in Exception)
- $line - (defined in Exception)
Public Methods
public getSafeMessage()
public getSafeMessage(): void
getSafeMessage returns a message that is safe to show to users.
Inherited Public Methods
- __construct() - the CMS base exception class, which inherits the native PHP Exception. (defined in October\Rain\Exception\ExceptionBase)
- __toString() - (defined in Exception)
- __wakeup() - (defined in Exception)
- applyMask() - is used if this method is used when applying the mask exception to the face. (defined in October\Rain\Exception\ExceptionBase)
- getCallStack() - returns the call stack as an array containing a stack information object. (defined in October\Rain\Exception\ExceptionBase)
- getClassName() - returns the class name of the called Exception. (defined in October\Rain\Exception\ExceptionBase)
- getCode() - (defined in Exception)
- getErrorType() - returns the error type derived from the error code used. (defined in October\Rain\Exception\ExceptionBase)
- getFile() - (defined in Exception)
- getHighlight() - generates information used for highlighting the area of code in context of the. (defined in October\Rain\Exception\ExceptionBase)
- getHighlightLines() - returns an array of line numbers used for highlighting the problem area. (defined in October\Rain\Exception\ExceptionBase)
- getLine() - (defined in Exception)
- getMessage() - (defined in Exception)
- getNiceFile() - returns a file that is suitable for sharing. (defined in October\Rain\Exception\ExceptionBase)
- getPrevious() - (defined in Exception)
- getTrace() - (defined in Exception)
- getTraceAsString() - (defined in Exception)
- getTrueException() - is used if this exception is acting as a mask, return the face exception. (defined in October\Rain\Exception\ExceptionBase)
- mask() - an exception with the called class. This should catch fatal and php errors. (defined in October\Rain\Exception\ExceptionBase)
- setMask() - is used if this exception acts as a mask, sets the face for the foreign exception. (defined in October\Rain\Exception\ExceptionBase)
- unmask() - removes the active mask from the called class. (defined in October\Rain\Exception\ExceptionBase)
Protected Methods
Show inherited protected methods
Inherited Protected Methods
- filterCallStack() - removes the final steps of a call stack, which add no value for the user. (defined in October\Rain\Exception\ExceptionBase)
- formatStackArguments() - prepares a function or method argument list for display in HTML or text format. (defined in October\Rain\Exception\ExceptionBase)