![]() |
Vault
4.1
|
VRangeException is a VException that indicates that a value is outside the valid range of data. More...
#include <vexception.h>
Public Member Functions | |
| VRangeException (const char *errorMessage, bool recordStackTrace=true) | |
| Constructs the exception with an error message. | |
| VRangeException (const VString &errorString, bool recordStackTrace=true) | |
| Constructs the exception with default error code and VString message. | |
| virtual | ~VRangeException () throw () |
| Destructor. | |
VRangeException is a VException that indicates that a value is outside the valid range of data.
For example, when you instantiate a VDate or call its set() function with a bad month or day value, it will throw a VRangeException rather than asserting.
Definition at line 416 of file vexception.h.
| VRangeException::VRangeException | ( | const char * | errorMessage, |
| bool | recordStackTrace = true |
||
| ) | [inline] |
Constructs the exception with an error message.
| errorMessage | the message |
| recordStackTrace | if true, will attempt to collect stack trace into mCallStack |
Definition at line 424 of file vexception.h.
| VRangeException::VRangeException | ( | const VString & | errorString, |
| bool | recordStackTrace = true |
||
| ) | [inline] |
Constructs the exception with default error code and VString message.
| errorString | the error message |
| recordStackTrace | if true, will attempt to collect stack trace into mCallStack |
Definition at line 430 of file vexception.h.