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:
Avalon Development Team
See Also:
Serialized Form

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
 

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.


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.