Source code: feynman/framework/system/PhysicalSystemFactoryException.java
1 /*
2 * $Header: /cvsroot/feynman/src/feynman/framework/system/PhysicalSystemFactoryException.java,v 1.1.1.1 2002/11/12 02:25:43 wesley_bailey Exp $
3 * $Revision: 1.1.1.1 $
4 * $Date: 2002/11/12 02:25:43 $
5 * $Copyright: Copyright (C) 2002 Path Integral Software $
6 */
7 package feynman.framework.system;
8
9 /**
10 * This excpetion is generally invoked when the user has either configured the
11 * properties file incorrectly by specifying a sub-class of the <b>PhysicalObject</b>
12 * that cannot be created by the Factory. An example would be if the user created
13 * a SphericalParticle that is a sub-class of <b>SphericalObject</b> which is a
14 * a sub-class of <b>PhysicalObject</b>. If the user tried to create the SphericalParticle
15 * with a CartesianObjectFactory, then this exception would be thrown.
16 *
17 * @author Wes Bailey
18 * @version $Revision: 1.1.1.1 $ $Date: 2002/11/12 02:25:43 $
19 */
20 public class PhysicalSystemFactoryException extends Exception {
21
22 // Only need package private contructors.
23 public PhysicalSystemFactoryException() {
24 super();
25 }
26
27 public PhysicalSystemFactoryException(String message) {
28 super(message);
29 }
30
31 }