sbrt.kernel.math.geom
Class DimensionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by sbrt.kernel.math.geom.DimensionException
All Implemented Interfaces:
java.io.Serializable

public class DimensionException
extends java.lang.RuntimeException

This class is used to indicate invalid dimensions.

Author:
This class was written and documented by Jeremiah Wright while in the Wagner lab.
See Also:
Serialized Form

Constructor Summary
DimensionException(int dimension)
          Constructs a new dimension exception.
 
Method Summary
 int getDimension()
          Returns the invalid dimension.
 
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

DimensionException

public DimensionException(int dimension)
Constructs a new dimension exception.

Parameters:
dimension - the invalid dimension.
Method Detail

getDimension

public int getDimension()
Returns the invalid dimension.

Returns:
the invalid dimension.