Revision: 638 Author: allain.lalonde Date: Mon Aug 3 12:11:00 2009 Log: CheckStyle hunting. http://code.google.com/p/piccolo2d/source/detail?r=638
Modified: /piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/util/PAffineTransformException.java ======================================= --- /piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/util/PAffineTransformException.java Tue Jul 28 12:46:54 2009 +++ /piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/util/PAffineTransformException.java Mon Aug 3 12:11:00 2009 @@ -9,26 +9,62 @@ private final PAffineTransform errantTransform; + /** + * Constructs an Exception that represents an error with the + * errantTransform. + * + * @param errantTransform transform that caused the error + */ public PAffineTransformException(final PAffineTransform errantTransform) { this.errantTransform = errantTransform; } + /** + * Constructs an Exception that represents an error with the + * errantTransform. + * + * @param message Text message provided by the programmer about the context + * of the error + * @param errantTransform transform that caused the error + */ public PAffineTransformException(final String message, final PAffineTransform errantTransform) { super(message); this.errantTransform = errantTransform; } + /** + * Constructs an Exception that wraps another and records the errant + * transform. + * + * @param throwable the root cause of the exception + * @param errantTransform transform that's related to the error + */ public PAffineTransformException(final Throwable throwable, final PAffineTransform errantTransform) { super(throwable); this.errantTransform = errantTransform; } + /** + * Constructs an Exception that wraps another and records the errant + * transform and provides a human readable message about the exception's + * context. + * + * @param message Text message provided by the programmer about the context + * of the error + * @param throwable the root cause of the exception + * @param errantTransform transform that's related to the error + */ public PAffineTransformException(final String message, final Throwable throwable, final PAffineTransform errantTransform) { super(message, throwable); this.errantTransform = errantTransform; } + /** + * Used to access the transform related to this exception. + * + * @return transform related to the exception + */ public PAffineTransform getErrantTransform() { return errantTransform; } --~--~---------~--~----~------------~-------~--~----~ Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en -~----------~----~----~----~------~----~------~--~---