org.jcoderz.commons.test
Class FunnyRuntimeException

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.test.TestServiceRuntimeException
                      extended by org.jcoderz.commons.test.FunnyRuntimeException
All Implemented Interfaces:
Serializable, Loggable

public class FunnyRuntimeException
extends TestServiceRuntimeException

Not real fun! Generic technical issue in the caused by '{CAUSE_TEXT}'. This exception encapsulates the log message TssLogMessage.FUNNY_RUNTIME.

Author:
generated
See Also:
Serialized Form

Constructor Summary
  FunnyRuntimeException(String causeText)
          Constructs a funny runtime exception with a cause.
  FunnyRuntimeException(String causeText, Throwable cause)
          Constructs a funny runtime exception with a cause.
protected FunnyRuntimeException(TssLogMessage messageInfo)
          Constructor getting an log message info.
protected FunnyRuntimeException(TssLogMessage messageInfo, Throwable cause)
          Constructor getting an log message info and a root exception.
 
Method Summary
 String valueOfCauseText()
          Returns the value of the parameter causeText.
 
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

FunnyRuntimeException

public FunnyRuntimeException(String causeText,
                             Throwable cause)
Constructs a funny runtime exception with a cause.

Parameters:
causeText - The cause text used in the message.
cause - the cause of this exception.

FunnyRuntimeException

public FunnyRuntimeException(String causeText)
Constructs a funny runtime exception with a cause.

Parameters:
causeText - The cause text used in the message.

FunnyRuntimeException

protected FunnyRuntimeException(TssLogMessage 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

FunnyRuntimeException

protected FunnyRuntimeException(TssLogMessage 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
Method Detail

valueOfCauseText

public String valueOfCauseText()
Returns the value of the parameter causeText.

Returns:
the value of the parameter causeText.


Copyright 2007 The jCoderZ Project.