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
| Access | Constructor and Description |
|---|---|
| public | |
| public | ResourceWarning(String
the detail message. message)Constructs a new instance with the specified detail message. |
| public | ResourceWarning(Throwable
a chained exception of type
cause)Throwable.Constructs a new throwable with the specified cause. |
| public | ResourceWarning(String
the detail message. message, Throwable a chained exception of type
cause)Throwable.Constructs a new throwable with the specified detail message and cause. |
| public | ResourceWarning(String
a description of the exception. message, String a string specifying the vendor specific error code. errorCode)Constructs a new throwable with the specified detail message and an error code. |
| Modifier and Type | Method and Description |
|---|---|
| public ResourceWarning | Returns: nextResourceWarning in the chain; null if none.
Deprecated
Java™ release 1.4 supports a chained exception facility
that allows any throwable to know about another throwable, if any,
that caused it to get thrown.
Retrieves the warning chained to this |
| public void | setLinkedWarning(ResourceWarning
ResourceWarning to be added to the chain.
Deprecated
J2SE release 1.4 supports a chained exception facility
that allows any throwable to know about another throwable, if any,
that caused it to get thrown.
Adds an |
| ResourceWarning | back to summary |
|---|---|
| public ResourceWarning() Constructs a new instance with null as its detail message. | |
| ResourceWarning | back to summary |
|---|---|
| public ResourceWarning(String message) Constructs a new instance with the specified detail message.
| |
| ResourceWarning | back to summary |
|---|---|
| public ResourceWarning(Throwable cause) Constructs a new throwable with the specified cause.
| |
| ResourceWarning | back to summary |
|---|---|
| public ResourceWarning(String message, Throwable cause) Constructs a new throwable with the specified detail message and cause. | |
| ResourceWarning | back to summary |
|---|---|
| public ResourceWarning(String message, String errorCode) Constructs a new throwable with the specified detail message and an error code. | |
| getLinkedWarning | back to summary |
|---|---|
| public ResourceWarning getLinkedWarning()
Deprecated Java™ release 1.4 supports a chained exception facility
that allows any throwable to know about another throwable, if any,
that caused it to get thrown. Refer to Retrieves the warning chained to this
| |
| setLinkedWarning | back to summary |
|---|---|
| public void setLinkedWarning(ResourceWarning warning)
Deprecated J2SE release 1.4 supports a chained exception facility
that allows any throwable to know about another throwable, if any,
that caused it to get thrown. Refer to Adds an
| |