Thrown when Math has failed. More...
#include <exception.h>
Public Member Functions | |
ArithmeticException (const String &TypeName, const String &JavaTypeName, const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
ArithmeticException Name overwriting constructor. More... | |
ArithmeticException (const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
ArithmeticException constructor. More... | |
virtual | ~ArithmeticException () throw () |
Class destructor. | |
virtual Whole | GetExceptionCode () const throw () |
Gets the exception code for this exception. More... | |
Public Member Functions inherited from Mezzanine::ExceptionBase | |
ExceptionBase (const Mezzanine::String &TypeName, const Mezzanine::String &JavaTypeName, const Mezzanine::String &Message, const Mezzanine::String &SrcFunction, const Mezzanine::String &SrcFile, const Mezzanine::Whole &FileLine) | |
Simple Constructor. More... | |
virtual | ~ExceptionBase () throw () |
Class destructor. | |
Mezzanine::String | GetCompleteMessage () const throw () |
Constructs the complete message from all the information provided about the exception. More... | |
const Mezzanine::String & | GetExceptionJavaTypeName () const throw () |
Gets the name of the exception type. More... | |
const Mezzanine::String & | GetExceptionTypeName () const throw () |
Gets the name of the exception type. More... | |
const Mezzanine::String & | GetFile () const throw () |
Gets the file of the exception. More... | |
const Mezzanine::String & | GetFunction () const throw () |
Gets the function of the exception. More... | |
const Mezzanine::Whole & | GetLine () const throw () |
Gets the line number of the exception. More... | |
virtual const char * | what () const throw () |
Retrieves the error message. More... | |
Static Public Attributes | |
static const Whole | ExceptionCode = ExceptionBase::ARITHMETIC_EXCEPTION |
Thrown when Math has failed. | |
Thrown when Math has failed.
When catching this in java look for java.lang.XXXXX
Definition at line 2541 of file exception.h.
|
inline |
ArithmeticException Name overwriting constructor.
TypeName | The name of this class. |
JavaTypeName | When passed to Java what does this convert to? |
Message | A basic description of the error. |
SrcFunction | The name of the function from which this originated. |
SrcFile | The name of the file from which this originated. |
FileLine | The line on the named file from which this originated. |
Definition at line 2555 of file exception.h.
|
inline |
ArithmeticException constructor.
Message | A basic description of the error. |
SrcFunction | The name of the function from which this originated. |
SrcFile | The name of the file from which this originated. |
FileLine | The line on the named file from which this originated. |
Definition at line 2571 of file exception.h.
|
inlinevirtual |
Gets the exception code for this exception.
Implements Mezzanine::ExceptionBase.
Definition at line 2582 of file exception.h.