org.apache.excalibur.source
Class SourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.excalibur.source.SourceException
All Implemented Interfaces:
java.io.Serializable, org.apache.avalon.framework.CascadingThrowable
Direct Known Subclasses:
SourceNotFoundException

public class SourceException
extends java.io.IOException
implements org.apache.avalon.framework.CascadingThrowable

This Exception is thrown every time there is a problem in processing a source.

Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:26 $
Author:
Avalon Development Team
See Also:
Serialized Form

Field Summary
private  java.lang.Throwable m_throwable
          The Throwable that caused this exception to be thrown.
 
Constructor Summary
SourceException(java.lang.String message)
          Construct a new SourceException instance.
SourceException(java.lang.String message, java.lang.Throwable throwable)
          Construct a new SourceException instance.
 
Method Summary
 java.lang.Throwable getCause()
          Retrieve the cause of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_throwable

private final java.lang.Throwable m_throwable
The Throwable that caused this exception to be thrown.

Constructor Detail

SourceException

public SourceException(java.lang.String message)
Construct a new SourceException instance.

Parameters:
message - the detail message for this exception.

SourceException

public SourceException(java.lang.String message,
                       java.lang.Throwable throwable)
Construct a new SourceException instance.

Parameters:
message - the detail message for this exception.
throwable - the root cause of the exception.
Method Detail

getCause

public final java.lang.Throwable getCause()
Retrieve the cause of the exception.

Specified by:
getCause in interface org.apache.avalon.framework.CascadingThrowable
Overrides:
getCause in class java.lang.Throwable
Returns:
the cause.