Class UnavailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.avalon.framework.availability.UnavailableException
- All Implemented Interfaces:
Serializable
Exception to signal component is not available.
UnavailableException is thrown in any method to another component,
but only if the caller implements AvailabilityAware.
- Since:
- 4.5
- Version:
- $Id$
- Author:
- Avalon Development Team
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the key to the component that is no longer available.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
m_Key
-
-
Constructor Details
-
UnavailableException
Constructor.- Parameters:
message
- The non-localized message to be embedded into the exception.key
- The key that the caller used to lookup the component with.
-
-
Method Details
-
getLookupKey
Returns the key to the component that is no longer available.
-