JSci.maths.vectors
Class VectorDimensionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended byJSci.maths.DimensionException
                      extended byJSci.maths.vectors.VectorDimensionException
All Implemented Interfaces:
java.io.Serializable

public final class VectorDimensionException
extends DimensionException

This exception occurs when there is a problem involving a vector's dimension. For example, accessing a component outside a vector's dimension or performing an operation with vectors that have different dimensions.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
VectorDimensionException()
          Constructs a VectorDimensionException with no detail message.
VectorDimensionException(java.lang.String s)
          Constructs a VectorDimensionException with the specified detail message.
 
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

VectorDimensionException

public VectorDimensionException()
Constructs a VectorDimensionException with no detail message.


VectorDimensionException

public VectorDimensionException(java.lang.String s)
Constructs a VectorDimensionException with the specified detail message.