Exceptions
edrumwri edited this page Oct 4, 2015
·
5 revisions
Ravelin code throws the following exceptions, as described below:
- DataMismatchException thrown when trying to mix float and double types improperly
- FrameException thrown when trying to combine quantities in two different frames
- InvalidIndexException thrown when attempting to access an element that is out of range (e.g., selecting row 2*n of a n x n matrix)
- InvalidTransformException thrown when attempting to initialize a pose or transform with an invalid rotation
- MissizeException thrown when attempting to add,subtract, or multiply two incompatible matrices or vectors
- NonsquareMatrixException thrown when attempting to use a square matrix routine (e.g., inversion) on a non-square matrix
- NumericalException thrown when a linear algebraic algorithm unexpectedly fails
- SingularException thrown when a linear algebraic operation is unexpectedly singular