Package edu.hws.jcm.awt
Class JCMError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.hws.jcm.awt.JCMError
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
object
Object, possibly null, associated with this error.
-
-
Constructor Details
-
JCMError
Create a JCMError with the given error message and no associated object.- Parameters:
message
- the error message associated with this JCMError.
-
JCMError
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.
-