sbrt.kernel.math
Class InvalidPointException

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

public class InvalidPointException
extends java.lang.RuntimeException

This class is used to indicate that a point is invalid.

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

Constructor Summary
InvalidPointException(java.util.Map<?,?> point)
          Constructs an exception to indicate the provided point is invalid.
InvalidPointException(java.util.Map<?,?> point, java.lang.String message)
          Constructs an exception to indicate the provided point is invalid.
 
Method Summary
 UnmodifiableMap<?,?> getPoint()
          Returns the invalid point.
 
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

InvalidPointException

public InvalidPointException(java.util.Map<?,?> point)
Constructs an exception to indicate the provided point is invalid.

Parameters:
point - the invalid point.

InvalidPointException

public InvalidPointException(java.util.Map<?,?> point,
                             java.lang.String message)
Constructs an exception to indicate the provided point is invalid.

Parameters:
point - the invalid point.
message - a message useful for debugging.
Method Detail

getPoint

public UnmodifiableMap<?,?> getPoint()
Returns the invalid point.

Returns:
the invalid point.