Hilbert II - Version 0.02.01

org.qedeq.kernel.bo.control
Class IllegalModuleDataException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.qedeq.kernel.bo.control.IllegalModuleDataException
All Implemented Interfaces:
Serializable

public class IllegalModuleDataException
extends Exception

Data validation error. Occurs if a set or add method leads to wrong or inconsistent data.

Version:
$Revision: 1.7 $
See Also:
Serialized Form

Constructor Summary
IllegalModuleDataException(int errorCode, String message, ModuleContext context, Exception cause)
          Constructor.
IllegalModuleDataException(int errorCode, String message, ModuleContext context, ModuleContext referenceContext, Exception cause)
          Constructor.
 
Method Summary
 ModuleContext getContext()
          Get context information about error location.
 int getErrorCode()
          Get error code.
 ModuleContext getReferenceContext()
          Get additional context information about another associated location.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalModuleDataException

public IllegalModuleDataException(int errorCode,
                                  String message,
                                  ModuleContext context,
                                  ModuleContext referenceContext,
                                  Exception cause)
Constructor.

Parameters:
errorCode - Error code of this message.
message - Error message.
context - Error location.
referenceContext - Reference location.
cause - Detailed exception information.

IllegalModuleDataException

public IllegalModuleDataException(int errorCode,
                                  String message,
                                  ModuleContext context,
                                  Exception cause)
Constructor.

Parameters:
errorCode - Error code of this message.
message - Error message.
context - Error location.
cause - Detailed exception information.
Method Detail

getContext

public final ModuleContext getContext()
Get context information about error location.

Returns:
Error location context.

getReferenceContext

public final ModuleContext getReferenceContext()
Get additional context information about another associated location.

Returns:
Additional error location context.

getErrorCode

public final int getErrorCode()
Get error code.

Returns:
Error code.

Hilbert II - Version 0.02.01

©left GNU General Public Licence
All Rights Reserved.