org.codehaus.plexus.context

Class ContextException


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: 5457 $ $Date: 2007-01-17 22:54:30 +0000 (Wed, 17 Jan 2007) $
Author:
Avalon Development Team

Constructor Summary

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

Constructor Details

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