001 /*
002 * NoUniqueLineException.java
003 *
004 * Created on March 4, 2003, 12:56 PM
005 */
006
007 package cs101.awt.geom;
008
009 /**
010 * This exception represents a condition where more than one line satisfies
011 * a condition, and this prevents the throwing method from generating a
012 * valid return value. This condition generally implies the need for alternate
013 * but forseable logic, and so it is a checked exception.
014 *
015 * @author Patrick G. Heck, gus.heck@olin.edu
016 * @version $Id: NoUniqueLineException.java,v 1.1 2003/03/04 23:22:04 gus Exp $
017 */
018 public class NoUniqueLineException extends java.lang.Exception {
019
020 /**
021 * Creates a new instance of <code>NoUniqueLineException</code> without detail message.
022 */
023 public NoUniqueLineException() {
024 }
025
026
027 /**
028 * Constructs an instance of <code>NoUniqueLineException</code> with the specified detail message.
029 * @param msg the detail message.
030 */
031 public NoUniqueLineException(String msg) {
032 super(msg);
033 }
034 }
035
036 /*
037 * $Log: NoUniqueLineException.java,v $
038 * Revision 1.1 2003/03/04 23:22:04 gus
039 * Exceptions for shape utils
040 *
041 */