intblas::INTERVAL_EXCEPTION Struct Reference
This struct is the type of exception thrown by all the members of this library.
More...
#include <IntBLAS.h>
List of all members.
|
Public Attributes |
| char | msg [200] |
| | The error string, by default it is "Unknown Error!!";.
|
| int | code |
| | The numeric code for this error.
|
Detailed Description
This struct is the type of exception thrown by all the members of this library.
There is only one global error variable, namely Interval::error. All others, including the one received by the catch(), are copies of it.
Each exception has two parts. First there is the error code. Every error code uniquely identifies a type of error. Second there is the error message, there will always be an error message string, by default it is "Unknown Error!!". While this particular message is not helpful, the messages associated with the other codes are.
The following is a list of the default codes and their associated messages:
- Default: "Unknown error!!"
- 1: "Interval: Lower bound is greater than upper bound."
- 2: "Interval: Lower bound for exp() would underflow."
- 3: "Interval: Lower bound for exp() would overflow."
- 4: "Interval: Upper bound for exp() would overflow."
- 5: "Interval: Loss of accuracy in trig function due to argument range."
- 6: "Interval: Zero in denominator in ordinary interval division."
- 7: "Interval: Argument encloses a zero in elementary function."
- 8: "Interval: Negative power of a zero containing interval, result is undefined."
- 9: "Interval: Argument to inverse trig function encloses numbers greater than 1."
- 10: "Interval: Argument to inverse trig function encloses numbers less than -1."
- 11: "Interval: Approximating series for reduced argument did not converge."
- 12: "Interval: Internal error: negative argument."
- 13: "Interval: Disjoint intervals in set operation."
- 14: "Interval: Power function containing operands 0^0."
- 15: "Interval: Power function with operands of the form [0,pos]^[pos,pos]."
- 16: "Interval: Power function with operands of the form [neg,...]^[pos,pos]."
- 17: "Interval: Argument was determined to be to large or to small."
- 99: "Interval: std::numeric_limits<double>.has_inifinity == false."
- 200: "The operation cannot be performed on an empty set."
- 202: "Vector: index is out of range."
- 203: "Vector: dimension mismatch."
- 204: "Vector: Invalid normal type."
- 290: "Vector: Out of memory."
- 291: "Vector: could not create vector, a and b is null."
- 300: "Matrix: dimension mismatch."
- 301: "Matrix: operation cannot be performed on a 0x0 matrix."
- 302: "Matrix: that norm is not implemented in this package."
- 303: "Matrix: this operation is only valid on square matrices."
- 304: "Matrix: the side parameter must be 1 or 2."
- 305: "Matrix: the matrix is singular"
- 390: "Matrix: Out of memory."
- 391: "Matrix: could not create matrix, a and b is null."
- See also:
- Interval::error Interval::getLastError() Interval::setError()
Member Data Documentation
|
|
The numeric code for this error.
|
|
|
The error string, by default it is "Unknown Error!!";.
|
Generated on Wed Apr 26 16:12:04 2006 for IntBLAS by
1.4.4