Hilbert II - Version 0.01.09

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.6 $
See Also:
Serialized Form

Constructor Summary
IllegalModuleDataException(int errorCode, String message, Context context, Context referenceContext, Exception cause)
          Constructor.
IllegalModuleDataException(int errorCode, String message, Context context, Exception cause)
          Constructor.
 
Method Summary
 Context getContext()
          Get context information about error location.
 int getErrorCode()
          Get error code.
 Context 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,
                                  Context context,
                                  Context 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,
                                  Context 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 Context getContext()
Get context information about error location.

Returns:
Error location context.

getReferenceContext

public final Context 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.01.09

©left GNU General Public Licence
All Rights Reserved.