net.sourceforge.webcompmath.awt
Class WcmError
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
java.lang.RuntimeException
              
net.sourceforge.webcompmath.awt.WcmError
- All Implemented Interfaces: 
 - java.io.Serializable
 
public class WcmError
- extends java.lang.RuntimeException
 
JCMErrors can be generated by objects belonging to various classes in
 edu.hws.jcm.awt and edu.hws.jcm.draw. A JCMError can have an associated
 object, which is generally a ParseContext, InputObject, or Computable.
- Author:
 
  - David Eck
 
- See Also:
 - Serialized Form
 
| 
Field Summary | 
 java.lang.Object | 
object
 
          Object, possibly null, associated with this error. | 
 
| 
Constructor Summary | 
WcmError(java.lang.String message)
 
          Create a JCMError with the given error message and no associated object. | 
WcmError(java.lang.String message,
         java.lang.Object object)
 
          Create a JCMError with the given error message and associated object. | 
 
 
| Methods inherited from class java.lang.Throwable | 
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
object
public java.lang.Object object
- Object, possibly null, associated with this error.
 
WcmError
public WcmError(java.lang.String message)
- Create a JCMError with the given error message and no associated object.
- Parameters:
 message - the error message associated with this JCMError.
 
WcmError
public WcmError(java.lang.String message,
                java.lang.Object object)
- Create a JCMError with the given error message and associated object.
- Parameters:
 message - the error message associated with this JCMError.object - the object associated with this JCMError.