org.apache.excalibur.source
Class SourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.excalibur.source.SourceException
- All Implemented Interfaces:
- org.apache.avalon.framework.CascadingThrowable, java.io.Serializable
- 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
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 |
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.
getCause
public final java.lang.Throwable getCause()
- Retrieve the cause of the exception.
- Specified by:
getCause
in interface org.apache.avalon.framework.CascadingThrowable
- Returns:
- the cause.
Copyright © 1997-2007 Apache Software Foundation. All Rights Reserved.