|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.qedeq.kernel.se.common.QedeqException
org.qedeq.kernel.se.common.ModuleDataException
public abstract class ModuleDataException
Data validation error for a QEDEQ module. An error has always a reference to its
location. Maybe an additional reference for another location is provided.
An error code, message and location should fix a certain data validation error, so only these
informations are used for hashCode()
and equals(Object)
.
Constructor Summary | |
---|---|
ModuleDataException(int errorCode,
java.lang.String message,
ModuleContext context)
Constructor. |
|
ModuleDataException(int errorCode,
java.lang.String message,
ModuleContext context,
java.lang.Exception cause)
Constructor. |
|
ModuleDataException(int errorCode,
java.lang.String message,
ModuleContext context,
ModuleContext referenceContext)
Constructor. |
|
ModuleDataException(int errorCode,
java.lang.String message,
ModuleContext context,
ModuleContext referenceContext,
java.lang.Exception cause)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
ModuleContext |
getContext()
Get context information about error location. |
ModuleContext |
getReferenceContext()
Get additional context information about another associated location. |
int |
hashCode()
|
Methods inherited from class org.qedeq.kernel.se.common.QedeqException |
---|
getErrorCode, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModuleDataException(int errorCode, java.lang.String message, ModuleContext context, ModuleContext referenceContext, java.lang.Exception cause)
errorCode
- Error code of this message.message
- Error message.context
- Error location.referenceContext
- Reference location.cause
- Detailed exception information.public ModuleDataException(int errorCode, java.lang.String message, ModuleContext context, ModuleContext referenceContext)
errorCode
- Error code of this message.message
- Error message.context
- Error location.referenceContext
- Reference location.public ModuleDataException(int errorCode, java.lang.String message, ModuleContext context, java.lang.Exception cause)
errorCode
- Error code of this message.message
- Error message.context
- Error location.cause
- Detailed exception information.public ModuleDataException(int errorCode, java.lang.String message, ModuleContext context)
errorCode
- Error code of this message.message
- Error message.context
- Error location.Method Detail |
---|
public final ModuleContext getContext()
public final ModuleContext getReferenceContext()
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |