Exception Class

Ultimate base class of all Cmajor exceptions. By catching System.Exception all exceptions can be handled.

Definition

Line 8 of System.Base/Exception.cm

Inheritance

Constructors & Destructor

public nothrow Exception(const String<char>& message_)

Member Functions

public inline nothrow const String<char>& CallStack() const
public inline nothrow const String<char>& Message() const
public virtual nothrow String<char> ToString() const

Member Variables

private String<char> callStack
private String<char> message

Constructor& Destructor Details

Exception Constructor

public nothrow Exception(const String<char>& message_)

Definition
Line 10 of System.Base/Exception.cm


Member Function Details

CallStack Member Function

public inline nothrow const String<char>& CallStack()

Definition
Line 19 of System.Base/Exception.cm


Message Member Function

public inline nothrow const String<char>& Message()

Definition
Line 15 of System.Base/Exception.cm


ToString Member Function

public virtual nothrow String<char> ToString()

Definition
Line 23 of System.Base/Exception.cm