org.apache.cocoon.components.expression
Class ExpressionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.cocoon.components.expression.ExpressionException
All Implemented Interfaces:
Serializable, CascadingThrowable

public class ExpressionException
extends IOException
implements CascadingThrowable

Version:
$Id: ExpressionException.html 1304258 2012-03-23 10:09:27Z ilgrosso $
See Also:
Serialized Form

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

Constructor Detail

ExpressionException

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

Parameters:
message - the detail message for this exception.

ExpressionException

public ExpressionException(String message,
                           Throwable throwable)
Construct a new ExpressionException instance.

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

getCause

public final Throwable getCause()
Retrieve the cause of the exception.

Specified by:
getCause in interface CascadingThrowable
Overrides:
getCause in class Throwable
Returns:
the cause.


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.