|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.avalon.framework.availability.UnavailableException
Exception to signal component is not available. UnavailableException is thrown in any method to another component, but only if the caller implements AvailabilityAware.
| Constructor Summary | |
UnavailableException(java.lang.String message,
java.lang.String key)
Constructor. |
|
| Method Summary | |
java.lang.String |
getLookupKey()
Returns the key to the component that is no longer available. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UnavailableException(java.lang.String message,
java.lang.String key)
message - The non-localized message to be embedded into the
exception.key - The key that the caller used to lookup the component
with.| Method Detail |
public java.lang.String getLookupKey()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||