|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.guiceyfruit.support.internal.CloseErrorsImpl
public class CloseErrorsImpl
The default implementation of @{link CloseErrors}
Constructor Summary | |
---|---|
CloseErrorsImpl(java.lang.Object source)
|
Method Summary | |
---|---|
void |
closeError(java.lang.Object key,
java.lang.Object object,
java.lang.Exception cause)
Notification of a close exception |
void |
throwIfNecessary()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CloseErrorsImpl(java.lang.Object source)
Method Detail |
---|
public void closeError(java.lang.Object key, java.lang.Object object, java.lang.Exception cause)
CloseErrors
closeError
in interface CloseErrors
key
- the key of the object being closed which is usually a Key
or String
object
- the object being closedcause
- the exception thrown when the close was attemptedpublic void throwIfNecessary() throws CloseFailedException
throwIfNecessary
in interface CloseErrors
CloseFailedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |