Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SQLException Class Reference

#include <SQLException.h>

List of all members.

Public Methods

 SQLException ( const nsAReadableString& theMessage, const nsAReadableString& theType = NS_LITERAL_STRING("SQLException"))
 Constructor. More...

virtual ~SQLException ()
const nsAReadableString& getType () const
 Retrieve type of exception. More...

const nsAReadableString& getMessage () const
 Retrieve message for exception. More...

Private Attributes

const const nsAReadableString& m_type
const const nsAReadableString& m_message

Constructor & Destructor Documentation

SQLException::SQLException ( const nsAReadableString & theMessage,
const nsAReadableString & theType = NS_LITERAL_STRING("SQLException") )


theMessage   message to write when exception thrown
theType   type of exception, default is "SQLException"

Definition at line 14 of file SQLException.cpp.

SQLException::~SQLException ( ) [virtual]

Definition at line 19 of file SQLException.cpp.

Member Function Documentation

const nsAReadableString & SQLException::getMessage ( ) const [inline]

Retrieve message for exception.

exception message

Definition at line 47 of file SQLException.h.

const nsAReadableString & SQLException::getType ( ) const [inline]

Retrieve type of exception.

type of exception

Definition at line 36 of file SQLException.h.

Member Data Documentation

const const nsAReadableString & SQLException::m_message [private]

Definition at line 55 of file SQLException.h.

const const nsAReadableString & SQLException::m_type [private]

Definition at line 54 of file SQLException.h.

The documentation for this class was generated from the following files:
Generated at Tue Sep 12 16:29:58 2000 by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000