edu.umd.cs.piccolo.util
Class PAffineTransformException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.umd.cs.piccolo.util.PAffineTransformException
All Implemented Interfaces:
Serializable

public class PAffineTransformException
extends RuntimeException

This class is used to encapsulate exceptions that may occur while performing transform operations.

Since:
1.3
See Also:
Serialized Form

Constructor Summary
PAffineTransformException(PAffineTransform errantTransform)
          Constructs an Exception that represents an error with the errantTransform.
PAffineTransformException(String message, PAffineTransform errantTransform)
          Constructs an Exception that represents an error with the errantTransform.
PAffineTransformException(String message, Throwable throwable, PAffineTransform errantTransform)
          Constructs an Exception that wraps another and records the errant transform and provides a human readable message about the exception's context.
PAffineTransformException(Throwable throwable, PAffineTransform errantTransform)
          Constructs an Exception that wraps another and records the errant transform.
 
Method Summary
 PAffineTransform getErrantTransform()
          Used to access the transform related to this exception.
 
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

PAffineTransformException

public PAffineTransformException(PAffineTransform errantTransform)
Constructs an Exception that represents an error with the errantTransform.

Parameters:
errantTransform - transform that caused the error

PAffineTransformException

public PAffineTransformException(String message,
                                 PAffineTransform errantTransform)
Constructs an Exception that represents an error with the errantTransform.

Parameters:
message - Text message provided by the programmer about the context of the error
errantTransform - transform that caused the error

PAffineTransformException

public PAffineTransformException(Throwable throwable,
                                 PAffineTransform errantTransform)
Constructs an Exception that wraps another and records the errant transform.

Parameters:
throwable - the root cause of the exception
errantTransform - transform that's related to the error

PAffineTransformException

public PAffineTransformException(String message,
                                 Throwable throwable,
                                 PAffineTransform errantTransform)
Constructs an Exception that wraps another and records the errant transform and provides a human readable message about the exception's context.

Parameters:
message - Text message provided by the programmer about the context of the error
throwable - the root cause of the exception
errantTransform - transform that's related to the error
Method Detail

getErrantTransform

public PAffineTransform getErrantTransform()
Used to access the transform related to this exception.

Returns:
transform related to the exception


Copyright © 1995-2011 Piccolo2D. All Rights Reserved.