ResourceWarningpublic class ResourceWarning extends javax.resource.ResourceException A 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. |
Constructors Summary |
---|
public ResourceWarning()Constructs a new instance with null as its detail message. super();
| public ResourceWarning(String message)Constructs a new instance with the specified detail message.
super(message);
| public ResourceWarning(Throwable cause)Constructs a new throwable with the specified cause.
super(cause);
| public ResourceWarning(String message, Throwable cause)Constructs a new throwable with the specified detail message and cause.
super(message, cause);
| public ResourceWarning(String message, String errorCode)Constructs a new throwable with the specified detail message and
an error code.
super(message, errorCode);
|
Methods Summary |
---|
public javax.resource.cci.ResourceWarning | getLinkedWarning()Retrieves the warning chained to this ResourceWarning
object.
try {
return ((ResourceWarning)getLinkedException());
}
catch (ClassCastException ex) {
return null;
}
| public void | setLinkedWarning(javax.resource.cci.ResourceWarning warning)Adds an ResourceWarning object to the end of the chain.
setLinkedException(warning);
|
|