Package org.codehaus.plexus.context
Class ContextException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.codehaus.plexus.context.ContextException
-
- All Implemented Interfaces:
java.io.Serializable
public class ContextException extends java.lang.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$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ContextException(java.lang.String message)
Construct a newContextException
instance.ContextException(java.lang.String message, java.lang.Throwable throwable)
Construct a newContextException
instance.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContextException
public ContextException(java.lang.String message)
Construct a newContextException
instance.- Parameters:
message
- The detail message for this exception.
-
ContextException
public ContextException(java.lang.String message, java.lang.Throwable throwable)
Construct a newContextException
instance.- Parameters:
message
- The detail message for this exception.throwable
- the root cause of the exception
-
-