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

Quick Search    Search Deep

Source code: feynman/framework/controller/ControllerException.java


1   /*
2    * $Header: /cvsroot/feynman/src/feynman/framework/controller/ControllerException.java,v 1.1.1.1 2002/11/12 02:25:41 wesley_bailey Exp $
3    * $Revision: 1.1.1.1 $
4    * $Date: 2002/11/12 02:25:41 $
5    * $Copyright: Copyright (C) 2002 Path Integral Software $
6    */
7   package feynman.framework.controller;
8   
9   /**
10   * This excpetion is generally invoked when the user has either configured the
11   * properties file incorrectly or invoked the <b>feynman.jar</b> file with an
12   * incorrect command line.
13   *
14   * @author Wes Bailey
15   * @version $Revision: 1.1.1.1 $ $Date: 2002/11/12 02:25:41 $
16   */
17  public class ControllerException extends Exception {
18    
19    // Only need package private contructors.
20    ControllerException() {
21      
22      super("\nUsage: java -jar feynman.jar [propertiesFile]\n");
23      
24    }
25    
26    ControllerException(String message) {
27      
28      super("\nUsage: java -jar feynman.jar [propertiesFile]\n" + message);
29      
30    }
31    
32  }