org.codehaus.plexus.context
Class ContextException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.plexus.context.ContextException
- All Implemented Interfaces:
- Serializable
public class ContextException
- extends Exception
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 containerContext value.
- Version:
- CVS $Revision: 6965 $ $Date: 2007-10-20 22:32:27 -0700 (Sat, 20 Oct 2007) $
- Author:
- Avalon Development Team
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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
Copyright © 2001-2008 Codehaus. All Rights Reserved.