org.displaytag.exception
Class WrappedRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.displaytag.exception.BaseNestableRuntimeException
                  extended by org.displaytag.exception.WrappedRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class WrappedRuntimeException
extends BaseNestableRuntimeException

Basic wrapper for checked exceptions.

Version:
$Revision: 1081 $ ($Author: fgiust $)
Author:
Fabrizio Giustina
See Also:
Serialized Form

Constructor Summary
WrappedRuntimeException(java.lang.Class source, java.lang.Throwable cause)
          Instantiate a new WrappedRuntimeException.
 
Method Summary
 SeverityEnum getSeverity()
          subclasses need to define the getSeverity method to provide correct severity for logging.
 
Methods inherited from class org.displaytag.exception.BaseNestableRuntimeException
getCause, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

WrappedRuntimeException

public WrappedRuntimeException(java.lang.Class source,
                               java.lang.Throwable cause)
Instantiate a new WrappedRuntimeException.

Parameters:
source - Class where the exception is generated
cause - Original exception
Method Detail

getSeverity

public SeverityEnum getSeverity()
Description copied from class: BaseNestableRuntimeException
subclasses need to define the getSeverity method to provide correct severity for logging.

Specified by:
getSeverity in class BaseNestableRuntimeException
Returns:
SeverityEnum exception severity
See Also:
BaseNestableRuntimeException.getSeverity()


Copyright © 2002-2007 the Displaytag team. All Rights Reserved.