libcamgm
Public Member Functions | List of all members
ca_mgm::OverflowException Class Reference

OverflowException class declaration. More...

#include <Exception.hpp>

Inheritance diagram for ca_mgm::OverflowException:
ca_mgm::Exception

Public Member Functions

 OverflowException (const char *file, int line, const char *msg, int errorCode=0, const ca_mgm::Exception *otherException=0)
 
virtual ~OverflowException () throw ()
 
virtual const char * type () const
 
- Public Member Functions inherited from ca_mgm::Exception
 Exception (const Exception &e)
 
Exceptionoperator= (const Exception &rhs)
 
virtual ~Exception () throw ()
 
virtual const char * getMessage () const
 
virtual std::string getFullMessage () const
 
const char * getFile () const
 
int getLine () const
 
int getErrorCode () const
 
virtual const char * what () const throw ()
 

Additional Inherited Members

- Protected Member Functions inherited from ca_mgm::Exception
 Exception (const char *file, int line, const char *msg, int errorCode, const Exception *otherException=0)
 

Detailed Description

OverflowException class declaration.

An OverflowException is thrown when an arithmetic overflow is encountered. An other case is during an cast from e.g. UInt64 to uint where the UInt64 value is larger then the size of the destination type.

Constructor & Destructor Documentation

ca_mgm::OverflowException::OverflowException ( const char *  file,
int  line,
const char *  msg,
int  errorCode = 0,
const ca_mgm::Exception otherException = 0 
)
virtual ca_mgm::OverflowException::~OverflowException ( )
throw (
)
virtual

Member Function Documentation

virtual const char* ca_mgm::OverflowException::type ( ) const
virtual

Returns a string representing the concrete type. e.g. "SocketException". Will not return 0. This function will not throw. Derived class implementations must not throw.

Reimplemented from ca_mgm::Exception.


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