Keel 2.1RC2

org.apache.excalibur.source
Class SourceException

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

public class SourceException
extends java.io.IOException
implements 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:
See Also:
Serialized Form

Field Summary
private  java.lang.Throwable m_throwable
          The Throwable that caused this exception to be thrown.
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
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 CascadingThrowable
Returns:
the cause.

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.