Exception Class extending Object

/ The Exception class is the highest possible class for exceptions. All exceptions are an instance of this Exception class. Extend this class to create an exception of your own /

Class Methods

Constructs this Exception class

function __construct() : void

Constructs this Exception class and sets the exception message to the message provided

function __construct(string message) : void

Returns the message associated with this Exception if no message was set it just returns a blank string ""

function getMessage() : string

Returns the stack trace of this Exception as a string. The stack trace allows you to trace the origin of this Exception

function getStackTrace() : string