org.qedeq.kernel.bo.module
Class IllegalDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.qedeq.kernel.bo.module.IllegalDataException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DuplicateLanguageEntryException, NullPointerListEntryException
- public abstract class IllegalDataException
- extends Exception
Data validation error. Occurs if a set or add method leads to wrong or inconsistent data.
- Version:
- $Revision: 1.4 $
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalDataException
public IllegalDataException(int errorCode,
String message)
- Constructor.
- Parameters:
errorCode
- Error code of this message.message
- Error message.
getErrorCode
public int getErrorCode()
- Get error code.
- Returns:
- Error code.