Top Description Fields Constructors Methods
org.apache.avalon.framework.availability

public Class UnavailableException

extends RuntimeException
Class Inheritance

Exception to signal component is not available. UnavailableException is thrown in any method to another component, but only if the caller implements AvailabilityAware.
Author
Avalon Development Team
Since
4.5
Version
$Id$

Field Summary

Modifier and TypeField and Description
private String

Constructor Summary

AccessConstructor and Description
public
UnavailableException(String
The non-localized message to be embedded into the exception.
message
,
String
The key that the caller used to lookup the component with.
key
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public String
getLookupKey()

Returns the key to the component that is no longer available.

Field Detail

m_Keyback to summary
private String m_Key

Constructor Detail

UnavailableExceptionback to summary
public UnavailableException(String message, String key)

Constructor.

Parameters
message:String

The non-localized message to be embedded into the exception.

key:String

The key that the caller used to lookup the component with.

Method Detail

getLookupKeyback to summary
public String getLookupKey()

Returns the key to the component that is no longer available.