org.apache.avalon.util.criteria
Class CriteriaRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.avalon.util.criteria.CriteriaRuntimeException
All Implemented Interfaces:
Serializable

public class CriteriaRuntimeException
extends RuntimeException

Exception to indicate that there was a repository related error.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/12/06 22:05:07 $
Author:
Stephen McConnell
See Also:
Serialized Form

Constructor Summary
CriteriaRuntimeException(String message)
          Construct a new CriteriaRuntimeException instance.
CriteriaRuntimeException(String message, Throwable cause)
          Construct a new CriteriaRuntimeException 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

CriteriaRuntimeException

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

Parameters:
message - The detail message for this exception.

CriteriaRuntimeException

public CriteriaRuntimeException(String message,
                                Throwable cause)
Construct a new CriteriaRuntimeException 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.