|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.iges.util.ChainedException | +--org.iges.anagram.AnagramException | +--org.iges.anagram.ModuleException
Thrown when a module cannot complete the task it is attempting.
Field Summary | |
protected java.lang.String |
clientMessage
|
protected Module |
module
|
Constructor Summary | |
ModuleException(Module module,
java.lang.String message)
Creates a ModuleException associated with the given module, with the given message. |
|
ModuleException(Module module,
java.lang.String clientMessage,
java.lang.String message)
Creates a ModuleException associated with the given module, with the given message, plus a different message that should be returned to the client. |
|
ModuleException(Module module,
java.lang.String message,
java.lang.Throwable cause)
Creates a ModuleException associated with the given module, with the given message and cause. |
Method Summary | |
java.lang.String |
getClientMessage()
Returns the client message, if any. |
Module |
getModule()
Returns the module that generated this exception |
Methods inherited from class org.iges.util.ChainedException |
getCause, getMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String clientMessage
protected Module module
Constructor Detail |
public ModuleException(Module module, java.lang.String message)
public ModuleException(Module module, java.lang.String message, java.lang.Throwable cause)
public ModuleException(Module module, java.lang.String clientMessage, java.lang.String message)
Method Detail |
public Module getModule()
public java.lang.String getClientMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |