Thrown when a passed parameter is checked at runtime and not in the expected range. More...
#include <exception.h>
Public Member Functions | |
ParametersRangeException (const String &TypeName, const String &JavaTypeName, const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
ParametersRangeException Name overwriting constructor. More... | |
ParametersRangeException (const String &Message, const String &SrcFunction, const String &SrcFile, const Whole &FileLine) | |
ParametersRangeException constructor. More... | |
virtual | ~ParametersRangeException () throw () |
Class destructor. | |
virtual Whole | GetExceptionCode () const throw () |
Gets the exception code for this exception. More... | |
Public Member Functions inherited from Mezzanine::ParametersException | |
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. | |
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 = ParametersException::PARAMETERS_RANGE_EXCEPTION |
Thrown when a passed parameter is checked at runtime and not in the expected range. | |
Static Public Attributes inherited from Mezzanine::ParametersException | |
static const Whole | ExceptionCode = ExceptionBase::PARAMETERS_EXCEPTION |
Thrown when parameters are checked at runtime and found invalid. | |
Thrown when a passed parameter is checked at runtime and not in the expected range.
When catching this in java look for java.lang.XXXXX
Definition at line 2480 of file exception.h.
|
inline |
ParametersRangeException 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 2494 of file exception.h.
|
inline |
ParametersRangeException 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 2510 of file exception.h.
|
inlinevirtual |
Gets the exception code for this exception.
Reimplemented from Mezzanine::ParametersException.
Definition at line 2521 of file exception.h.