org.apache.avalon.framework
Class CascadingRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.avalon.framework.CascadingRuntimeException
- All Implemented Interfaces:
- Serializable, CascadingThrowable
public class CascadingRuntimeException
- extends RuntimeException
- implements CascadingThrowable
Class from which all exceptions should inherit.
Allows recording of nested exceptions.
- Version:
- $Id: CascadingRuntimeException.java 506231 2007-02-12 02:36:54Z crossley $
- Author:
- Avalon Development Team
- See Also:
- Serialized Form
CascadingRuntimeException
public CascadingRuntimeException(String message,
Throwable throwable)
- Construct a new
CascadingRuntimeException instance.
- Parameters:
message - The detail message for this exception.throwable - the root cause of the exception
getCause
public final Throwable getCause()
- Retrieve root cause of the exception.
- Specified by:
getCause in interface CascadingThrowable- Overrides:
getCause in class Throwable
- Returns:
- the root cause
Copyright © 1997-2012 Apache Software Foundation. All Rights Reserved.