1 package JSci.maths; 2 3 /** 4 * This exception occurs when there is a problem involving an object's dimensions. 5 * @version 1.1 6 * @author Mark Hale 7 */ 8 public class DimensionException extends IllegalArgumentException { 9 /** 10 * Constructs a DimensionException with no detail message. 11 */ 12 public DimensionException() {} 13 /** 14 * Constructs a DimensionException with the specified detail message. 15 */ 16 public DimensionException(String s) { 17 super(s); 18 } 19 } 20 21