StandardExceptions::ExcMessage Class Reference
[Exceptions and assertions]

Inheritance diagram for StandardExceptions::ExcMessage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ExcMessage (const char *a1)
virtual ~ExcMessage () throw ()
virtual void print_info (std::ostream &out) const

Private Attributes

const char * arg1

Detailed Description

This exception works around a design flaw in the DeclException0 macro: that does not allow one to specify a message that is displayed when the exception is raised, as opposed to the other exceptions which allow to show a text along with the given parameters.

When throwing this exception, you can give a message as a char* as argument to the exception that is then displayed.


Constructor & Destructor Documentation

StandardExceptions::ExcMessage::ExcMessage ( const char *  a1  )  [inline]
virtual StandardExceptions::ExcMessage::~ExcMessage (  )  throw () [inline, virtual]

Member Function Documentation

virtual void StandardExceptions::ExcMessage::print_info ( std::ostream &  out  )  const [inline, virtual]

Print more specific information about the exception which occured. Overload this function in your own exception classes.

Reimplemented from ExceptionBase.


Member Data Documentation

const char* StandardExceptions::ExcMessage::arg1 [private]

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

deal.II documentation generated on Mon Nov 23 22:58:34 2009 by doxygen 1.6.1