Thrown when parameters are checked at runtime and found invalid. More...
#include <exception.h>
Public Member Functions | |
ParametersException (const String &TypeName, const String &JavaTypeName, const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
ParametersException Name overwriting constructor. More... | |
ParametersException (const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
ParametersException constructor. More... | |
virtual | ~ParametersException () 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::PARAMETERS_EXCEPTION |
Thrown when parameters are checked at runtime and found invalid. | |
Thrown when parameters are checked at runtime and found invalid.
When catching this in java look for java.lang.XXXXX
Definition at line 2358 of file exception.h.
|
inline |
ParametersException 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 2372 of file exception.h.
|
inline |
ParametersException 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 2388 of file exception.h.
|
inlinevirtual |
Gets the exception code for this exception.
Implements Mezzanine::ExceptionBase.
Reimplemented in Mezzanine::ParametersRangeException, and Mezzanine::ParametersCastException.
Definition at line 2399 of file exception.h.