org.apache.avalon.util.criteria
Class CriteriaException

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

public class CriteriaException
extends Exception

Exception to indicate that there was a criteria related error.

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

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

CriteriaException

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

Parameters:
message - The detail message for this exception.

CriteriaException

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