Simple Application Framework  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Saf::Exception Class Reference

Generic exception class. More...

#include <Exception.h>

Inheritance diagram for Saf::Exception:
Saf::ArgumentException Saf::InvalidCastException Saf::InvalidOperationException Saf::Math::ConvergenceException Saf::NotImplementedException Saf::OutOfMemoryException Saf::OverflowException Saf::ArgumentNullException Saf::IndexOutOfRangeException

List of all members.

Public Member Functions

 Exception (const SourceLocation &loc, const Text::String &msg)
 Constructor.
 ~Exception ()
 Destructor.
const Text::StringFunction () const
 Get the function in which the exception was thrown.
Size LineNumber () const
 Get the line number on which the exception was thrown.
const Text::StringMessage () const
 Get the exception error message.

Detailed Description

Generic exception class.


Constructor & Destructor Documentation

Saf::Exception::Exception ( const SourceLocation loc,
const Text::String msg 
) [inline]

Constructor.

Parameters:
[in]locException source descriptor.
[in]msgString describing the exception and its cause.

Destructor.


Member Function Documentation

const Text::String& Saf::Exception::Function ( ) const [inline]

Get the function in which the exception was thrown.

Size Saf::Exception::LineNumber ( ) const [inline]

Get the line number on which the exception was thrown.

const Text::String& Saf::Exception::Message ( ) const [inline]

Get the exception error message.


The documentation for this class was generated from the following file: