|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
javax.resource.cci.ResourceWarning
ResourceWarning provides information on warnings related to execution of an interaction with an EIS. Warnings are silently chained to the object whose method caused it to be reported.
Interaction.getWarnings(),
Serialized Form| Constructor Summary | |
ResourceWarning(java.lang.String reason)
Constructs an ResourceWarning object
with the given value for a reason; errorCode defaults to
null. |
|
ResourceWarning(java.lang.String reason,
java.lang.String errorCode)
Constructs a fully-specified ResourceWarning object
initialized with the given values. |
|
| Method Summary | |
ResourceWarning |
getLinkedWarning()
Retrieves the warning chained to this ResourceWarning
object. |
void |
setLinkedWarning(ResourceWarning warning)
Adds an ResourceWarning object to the end of the chain. |
| Methods inherited from class javax.resource.ResourceException |
getErrorCode, getLinkedException, setLinkedException |
| 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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ResourceWarning(java.lang.String reason,
java.lang.String errorCode)
ResourceWarning object
initialized with the given values.
reason - description of the warningpublic ResourceWarning(java.lang.String reason)
ResourceWarning object
with the given value for a reason; errorCode defaults to
null.
reason - description of the warning| Method Detail |
public ResourceWarning getLinkedWarning()
ResourceWarning
object.
public void setLinkedWarning(ResourceWarning warning)
ResourceWarning object to the end of the chain.
warning - ResourceWarning added to the chain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||