org.jcoderz.commons
Class UnexpectedExceptionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jcoderz.commons.BaseRuntimeException
                  extended by org.jcoderz.commons.UnexpectedExceptionException
All Implemented Interfaces:
Serializable, Loggable

public class UnexpectedExceptionException
extends BaseRuntimeException

An exeption occured that was not expected in the current code. This exception encapsulates the log message RteLogMessage.UNEXPECTED_EXCEPTION.

Author:
generated
See Also:
Serialized Form

Constructor Summary
  UnexpectedExceptionException()
          Constructs a unexpected exception exception with a cause.
protected UnexpectedExceptionException(RteLogMessage messageInfo)
          Constructor getting an log message info.
protected UnexpectedExceptionException(RteLogMessage messageInfo, Throwable cause)
          Constructor getting an log message info and a root exception.
  UnexpectedExceptionException(Throwable cause)
          Constructs a unexpected exception exception with a cause.
 
Method Summary
 
Methods inherited from class org.jcoderz.commons.BaseRuntimeException
addParameter, getCause, getEventTime, getInstanceId, getLogMessageInfo, getMessage, getNodeId, getParameter, getParameterNames, getSourceClass, getSourceMethod, getThreadId, getThreadName, getTrackingNumber, initCause, log, logCreation, toDetailedString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnexpectedExceptionException

public UnexpectedExceptionException(Throwable cause)
Constructs a unexpected exception exception with a cause.

Parameters:
cause - the cause of this exception.

UnexpectedExceptionException

public UnexpectedExceptionException()
Constructs a unexpected exception exception with a cause.


UnexpectedExceptionException

protected UnexpectedExceptionException(RteLogMessage messageInfo)
Constructor getting an log message info. This constructor is for generated exceptions internal use only.

Parameters:
messageInfo - the log message info for this exception

UnexpectedExceptionException

protected UnexpectedExceptionException(RteLogMessage messageInfo,
                                       Throwable cause)
Constructor getting an log message info and a root exception. This constructor is for generated exceptions internal use only.

Parameters:
messageInfo - the log message info for this exception
cause - the problem that caused this exception to be thrown


Copyright 2007 The jCoderZ Project.