org.apache.avalon.framework.context
Class ContextException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.avalon.framework.CascadingException
              extended byorg.apache.avalon.framework.context.ContextException
All Implemented Interfaces:
CascadingThrowable, java.io.Serializable

public class ContextException
extends CascadingException

Exception signalling a badly formed Context. This can be thrown by Context object when a entry is not found. It can also be thrown manually in contextualize() when Component detects a malformed context value.

Version:
$Id: ContextException.java 30977 2004-07-30 08:57:54Z niclas $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
ContextException(java.lang.String message)
          Construct a new ContextException instance.
ContextException(java.lang.String message, java.lang.Throwable throwable)
          Construct a new ContextException instance.
 
Methods inherited from class org.apache.avalon.framework.CascadingException
getCause
 
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

ContextException

public ContextException(java.lang.String message)
Construct a new ContextException instance.

Parameters:
message - The detail message for this exception.

ContextException

public ContextException(java.lang.String message,
                        java.lang.Throwable throwable)
Construct a new ContextException instance.

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


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.