org.qedeq.kernel.se.common
Class QedeqException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.qedeq.kernel.se.common.QedeqException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ModuleDataException, SourceFileException, XmlSyntaxException

public abstract class QedeqException
extends java.lang.Exception

Base class for all exceptions of this application.

Author:
Michael Meyling
See Also:
Serialized Form

Constructor Summary
QedeqException(int errorCode, java.lang.String message)
          Constructor.
QedeqException(int errorCode, java.lang.String message, java.lang.Throwable cause)
          Constructor.
 
Method Summary
 int getErrorCode()
          Get error code.
 java.lang.String 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QedeqException

public QedeqException(int errorCode,
                      java.lang.String message,
                      java.lang.Throwable cause)
Constructor.

Parameters:
errorCode - Error code of this message.
message - Error message.
cause - Detailed exception information.

QedeqException

public QedeqException(int errorCode,
                      java.lang.String message)
Constructor.

Parameters:
errorCode - Error code of this message.
message - Error message.
Method Detail

getErrorCode

public int getErrorCode()
Get error code.

Returns:
Error code.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable


Copyright © 2014. All Rights Reserved.