| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException edu.hws.jcm.awt.JCMError
JCMError | public class JCMError extends RuntimeException (Code) | | 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 |
Field Summary | |
public Object | object Object, possibly null, associated with this error. |
Constructor Summary | |
public | JCMError(String message) Create a JCMError with the given error message and no associated object. | public | JCMError(String message, Object object) Create a JCMError with the given error message and associated object. |
object | public Object object(Code) | | Object, possibly null, associated with this error.
|
JCMError | public JCMError(String message)(Code) | | Create a JCMError with the given error message and no associated object.
Parameters: message - the error message associated with this JCMError. |
JCMError | public JCMError(String message, Object object)(Code) | | Create a JCMError with the given error message and associated object.
Parameters: message - the error message associated with this JCMError. Parameters: object - the object associated with this JCMError. |
|
|