org.apache.avalon.repository
Class RepositoryRuntimeException

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

public class RepositoryRuntimeException
extends RuntimeException

Exception to indicate that there was a repository related error.

Version:
$Revision: 1.1.1.3 $ $Date: 2003/12/03 15:05:49 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
RepositoryRuntimeException(String message)
          Construct a new RepositoryRuntimeException instance.
RepositoryRuntimeException(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

RepositoryRuntimeException

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

Parameters:
message - The detail message for this exception.

RepositoryRuntimeException

public RepositoryRuntimeException(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.