|
|||||||||
| Home >> All >> javax >> [ resource overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.resource
Class ResourceException

java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- NotSupportedException
- public class ResourceException
- extends java.lang.Exception
- Version:
- $Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
| Nested Class Summary |
| Nested classes inherited from class java.lang.Throwable |
|
| Field Summary | |
private java.lang.String |
errorCode
|
private java.lang.Exception |
linkedException
|
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Constructor Summary | |
ResourceException()
|
|
ResourceException(java.lang.String message)
|
|
ResourceException(java.lang.String message,
java.lang.String errorCode)
|
|
ResourceException(java.lang.String message,
java.lang.Throwable cause)
|
|
ResourceException(java.lang.Throwable cause)
|
|
| Method Summary | |
java.lang.String |
getErrorCode()
|
java.lang.Exception |
getLinkedException()
Deprecated. |
void |
setErrorCode(java.lang.String errorCode)
|
void |
setLinkedException(java.lang.Exception ex)
Deprecated. |
java.lang.String |
toString()
Get a human-readable representation of this Throwable. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
errorCode
private java.lang.String errorCode
linkedException
private java.lang.Exception linkedException
| Constructor Detail |
ResourceException
public ResourceException()
ResourceException
public ResourceException(java.lang.String message)
ResourceException
public ResourceException(java.lang.Throwable cause)
ResourceException
public ResourceException(java.lang.String message, java.lang.Throwable cause)
ResourceException
public ResourceException(java.lang.String message, java.lang.String errorCode)
| Method Detail |
getErrorCode
public java.lang.String getErrorCode()
setErrorCode
public void setErrorCode(java.lang.String errorCode)
getLinkedException
public java.lang.Exception getLinkedException()
- Deprecated.
setLinkedException
public void setLinkedException(java.lang.Exception ex)
- Deprecated.
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Throwable - Get a human-readable representation of this Throwable. The detail message
is retrieved by getLocalizedMessage(). Then, with a null detail
message, this string is simply the object's class name; otherwise
the string is
getClass().getName() + ": " + message.
|
|||||||||
| Home >> All >> javax >> [ resource overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC