org.apache.avalon.repository
Class RepositoryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.avalon.repository.RepositoryException
All Implemented Interfaces:
Serializable

public class RepositoryException
extends Exception

Exception to indicate that there was a repository related error.

Version:
$Revision: 1.2 $ $Date: 2003/08/17 06:35:52 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
RepositoryException(String message)
          Construct a new RepositoryException instance.
RepositoryException(String message, Throwable cause)
          Construct a new RepositoryException instance.
 
Method Summary
 Throwable getCause()
          Return the causal 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

RepositoryException

public RepositoryException(String message)
Construct a new RepositoryException instance.

Parameters:
message - The detail message for this exception.

RepositoryException

public RepositoryException(String message,
                           Throwable cause)
Construct a new RepositoryException instance.

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

getCause

public Throwable getCause()
Return the causal exception.

Returns:
the causal exception (possibly null)


Copyright © Apache Software Foundation. All Rights Reserved.