Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/simscomputing/util/UnsatisfiedPreconditionException.java


1   // Common: classes common to many projects
2   // Copyright 1999 Sims Computing
3   // This software is licensed under the GNU General Public License,
4   // available at http://www.gnu.org/copyleft/gpl.html.
5   
6   package com.simscomputing.util;
7   
8   import com.simscomputing.SoftwareFaultException;
9   
10  /**
11  Thrown when a precondition is not satisfied.
12  This exception is a subclass of RuntimeException because
13  BrokenContractException should be thrown only in the event of a programmer
14  error.
15  
16  @author <a href="http://www.simscomputing.com/>Sims Computing</a>
17  @version $Revision: 1.1.1.1 $ $Date: 2000/02/21 21:22:36 $
18  */
19  public class UnsatisfiedPreconditionException extends BrokenContractException {
20    /**
21    Indicates that a precondition was not satisfied.
22  
23    @param String - the error message
24    */
25    public UnsatisfiedPreconditionException(String message) {
26      super(message);
27    } // constructor
28  } // class UnsatisfiedPreconditionException