Package edu.umd.cs.piccolo.util
Class PAffineTransformException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.umd.cs.piccolo.util.PAffineTransformException
- All Implemented Interfaces:
Serializable
This class is used to encapsulate exceptions that may occur while performing transform operations.
- Since:
- 1.3
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPAffineTransformException(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
Modifier and TypeMethodDescriptionUsed to access the transform related to this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PAffineTransformException
Constructs an Exception that represents an error with the errantTransform.- Parameters:
errantTransform- transform that caused the error
-
PAffineTransformException
Constructs an Exception that represents an error with the errantTransform.- Parameters:
message- Text message provided by the programmer about the context of the errorerrantTransform- transform that caused the error
-
PAffineTransformException
Constructs an Exception that wraps another and records the errant transform.- Parameters:
throwable- the root cause of the exceptionerrantTransform- 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 errorthrowable- the root cause of the exceptionerrantTransform- transform that's related to the error
-
-
Method Details
-
getErrantTransform
Used to access the transform related to this exception.- Returns:
- transform related to the exception
-