|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.ArithmeticException
cdx.ZeroVectorException
public class ZeroVectorException
The ZeroVectorException
exception is thrown by utilities that
perform calculations on vectors. If a particular operation is undefined for
the zero vector, a ZeroVectorException
exception is thrown. The
motivation for this class (as opposed to using a standard
ArithmeticException
) is to allow filtering based on the type of
the exception.
Constructor Summary | |
---|---|
ZeroVectorException(java.lang.String msg)
The only constructor for the ZeroVectorException class
takes a string as an argument and simply calls the super constructor. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ZeroVectorException(java.lang.String msg)
ZeroVectorException
class
takes a string as an argument and simply calls the super constructor.
msg
- a message describing the operation that caused the exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |