| Modifier and Type | Field and Description |
|---|---|
| private String | errorCode
Vendor specific error code |
| private Exception | linkedException
reference to another exception |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ResourceException(String
the detail message. message)Constructs a new instance with the specified detail message. |
| public | ResourceException(Throwable
a chained exception of type cause)Throwable.Constructs a new throwable with the specified cause. |
| public | ResourceException(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 | ResourceException(String
a description of the exception. message, String a string specifying the vendor specific error code. errorCode)Create a new throwable with the specified message and error code. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Exception | Returns: linked Exception, null if none
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.
Get the exception linked to this ResourceException |
| public String | Returns: a detailed message string.Overrides java. Returns a detailed message string describing this exception. |
| public void | |
| public void | setLinkedException(Exception
linked Exception ex)
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.
Add a linked Exception to this ResourceException. |
| errorCode | back to summary |
|---|---|
| private String errorCode Vendor specific error code | |
| linkedException | back to summary |
|---|---|
| private Exception linkedException reference to another exception | |
| ResourceException | back to summary |
|---|---|
| public ResourceException() Constructs a new instance with null as its detail message. | |
| ResourceException | back to summary |
|---|---|
| public ResourceException(String message) Constructs a new instance with the specified detail message.
| |
| ResourceException | back to summary |
|---|---|
| public ResourceException(Throwable cause) Constructs a new throwable with the specified cause.
| |
| ResourceException | back to summary |
|---|---|
| public ResourceException(String message, Throwable cause) Constructs a new throwable with the specified detail message and cause. | |
| ResourceException | back to summary |
|---|---|
| public ResourceException(String message, String errorCode) Create a new throwable with the specified message and error code. | |
| getErrorCode | back to summary |
|---|---|
| public String getErrorCode() Get the error code.
| |
| getLinkedException | back to summary |
|---|---|
| public Exception getLinkedException()
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 Get the exception linked to this ResourceException
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Returns a detailed message string describing this exception.
| |
| setErrorCode | back to summary |
|---|---|
| public void setErrorCode(String errorCode) Set the error code.
| |
| setLinkedException | back to summary |
|---|---|
| public void setLinkedException(Exception ex)
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 Add a linked Exception to this ResourceException.
| |