Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

util::Exception Class Reference

#include <Exception.h>

Inheritance diagram for util::Exception:

util::Object util::ComputationException util::InvalidArgumentException util::MathException util::MatrixException util::MutexException util::NotCloneableException util::RunException util::OperationNotDefinedException List of all members.

Detailed Description

Exception is the base class of all exceptions.

Public Methods

 Exception (std::string msg)
 Create a new exception with the given message.

std::string getMessage () const
 Get the message stored in this exception.

Constructor & Destructor Documentation

util::Exception::Exception std::string    msg [inline]

Create a new exception with the given message.

The standard format for exception messages is:

 classname::method(method params): message.
 Exception::getMessage(): There is no message.

Member Function Documentation

std::string util::Exception::getMessage   const [inline]

Get the message stored in this exception.

See the message format description in Exception(string).

See also:

The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.