Class PAffineTransformException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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:
  • Constructor Details

    • 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 Details

    • getErrantTransform

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