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 context value.
Version:
CVS $Revision: 1323 $ $Date: 2004-12-20 23:00:59 +0000 (Mon, 20 Dec 2004) $
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