Top Description Fields Constructors Methods
org.apache.avalon.framework

public Class CascadingRuntimeException

extends RuntimeException
implements CascadingThrowable
Class Inheritance
All Implemented Interfaces
org.apache.avalon.framework.CascadingThrowable

Class from which all exceptions should inherit. Allows recording of nested exceptions.
Author
Avalon Development Team
Version
$Id: CascadingRuntimeException.java 506231 2007-02-12 02:36:54Z crossley $

Field Summary

Modifier and TypeField and Description
private final Throwable

Constructor Summary

AccessConstructor and Description
public
CascadingRuntimeException(final String
The detail message for this exception.
message
,
final Throwable
the root cause of the exception
throwable
)

Construct a new CascadingRuntimeException instance.

Method Summary

Modifier and TypeMethod and Description
public final Throwable

Returns:

the root cause
getCause
()

Overrides java.lang.Throwable.getCause.

Implements org.apache.avalon.framework.CascadingThrowable.getCause.

Retrieve root cause of the exception.

Field Detail

m_throwableback to summary
private final Throwable m_throwable

Constructor Detail

CascadingRuntimeExceptionback to summary
public CascadingRuntimeException(final String message, final Throwable throwable)

Construct a new CascadingRuntimeException instance.

Parameters
message:String

The detail message for this exception.

throwable:Throwable

the root cause of the exception

Method Detail

getCauseback to summary
public final Throwable getCause()

Overrides java.lang.Throwable.getCause.

Implements org.apache.avalon.framework.CascadingThrowable.getCause.

Retrieve root cause of the exception.

Returns:Throwable

the root cause