October\Rain\Exception\ApplicationException

Source: ~/vendor/october/rain/src/Exception/ApplicationException.php

Extends:

Implements:

  • Throwable

This class represents an application exception. Application exceptions are not logged in the error log.

Public properties

There are no public properties in the class.

Show inherited public properties

Inherited public properties

Protected properties

There are no protected properties in the class.

Show inherited protected properties

Inherited protected properties

Public methods

Show inherited public methods

Inherited public methods

  • public void __construct(string $message='', int $code=0, Exception $previous=NULL) - defined in October\Rain\Exception\ExceptionBase. CMS base exception class constructor. Inherits the native PHP Exception.
  • public void __toString() - defined in Exception.
  • public void __wakeup() - defined in Exception.
  • public void applyMask(Exception $exception) - defined in October\Rain\Exception\ExceptionBase. This method is used when applying the mask exception to the face exception.
  • public Array getCallStack() - defined in October\Rain\Exception\ExceptionBase. Returns the call stack as an array of values containing a stack information object.
  • public string getClassName() - defined in October\Rain\Exception\ExceptionBase. Returns the class name of the called Exception.
  • public void getCode() - defined in Exception.
  • public string getErrorType() - defined in October\Rain\Exception\ExceptionBase. Returns the error type derived from the error code used.
  • public void getFile() - defined in Exception.
  • public array getHighlight() - defined in October\Rain\Exception\ExceptionBase. Generates information used for highlighting the area of code in context of the exception line number.
  • public array getHighlightLines() - defined in October\Rain\Exception\ExceptionBase. Returns an array of line numbers used for highlighting the problem area of code.
  • public void getLine() - defined in Exception.
  • public void getMessage() - defined in Exception.
  • public void getPrevious() - defined in Exception.
  • public void getTrace() - defined in Exception.
  • public void getTraceAsString() - defined in Exception.
  • public Exception getTrueException() - defined in October\Rain\Exception\ExceptionBase. If this exception is acting as a mask, return the face exception. Otherwise return.
  • public static void mask(string $message=NULL, int $code=0) - defined in October\Rain\Exception\ExceptionBase. Masks an exception with the called class. This should catch fatal and php errors.
  • public void setMask(Exception $exception) - defined in October\Rain\Exception\ExceptionBase. If this exception acts as a mask, sets the face for the foreign exception.
  • public static void unmask() - defined in October\Rain\Exception\ExceptionBase. Removes the active mask from the called class.

Protected methods

Show inherited protected methods

Inherited protected methods

  • protected array filterCallStack(array $traceInfo) - defined in October\Rain\Exception\ExceptionBase. Removes the final steps of a call stack, which add no value for the user.
  • protected string formatStackArguments(array $arguments) - defined in October\Rain\Exception\ExceptionBase. Prepares a function or method argument list for display in HTML or text format.