ContextException (Avalon Framework 4.1.5 API)
Keywords: org.apache.avalon.framework.context.ContextException class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.avalon.framework.context
Class ContextException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              org.apache.avalon.framework.CascadingException
                  org.apache.avalon.framework.context.ContextException

All Implemented Interfaces:
  CascadingThrowable, 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:
  CVS $Revision: 1.12 $ $Date: 2003/02/11 15:58:40 $
Author:
  Avalon Development Team
See Also:
  Serialized Form

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

  Construct a new `ContextException` instance.

Parameters:
  `message` - The detail message for this exception.

### ContextException

    public ContextException(String message,
                            Throwable throwable)

  Construct a new `ContextException` instance.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © Apache Software Foundation. All Rights Reserved.