libcamgm
|
OverflowException class declaration. More...
#include <Exception.hpp>
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 |
![]() | |
Exception (const Exception &e) | |
Exception & | operator= (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 | |
![]() | |
Exception (const char *file, int line, const char *msg, int errorCode, const Exception *otherException=0) | |
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.
ca_mgm::OverflowException::OverflowException | ( | const char * | file, |
int | line, | ||
const char * | msg, | ||
int | errorCode = 0 , |
||
const ca_mgm::Exception * | otherException = 0 |
||
) |
|
virtual |
|
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.