Package org.codehaus.plexus.context
Class ContextException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.plexus.context.ContextException
- All Implemented Interfaces:
Serializable
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$ $Date$
- Author:
- Avalon Development Team
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionContextException
(String message) Construct a newContextException
instance.ContextException
(String message, Throwable throwable) Construct a newContextException
instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ContextException
Construct a newContextException
instance.- Parameters:
message
- The detail message for this exception.
-
ContextException
Construct a newContextException
instance.- Parameters:
message
- The detail message for this exception.throwable
- the root cause of the exception
-