|
VistALink v1.6 | |||||||||
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
gov.va.med.vistalink.adapter.cci.VistaLinkResourceException
public class VistaLinkResourceException
Represents a ResourceException thrown by the VistaLink adapter.
Upgraded to support J2CA 1.5 ResourceException that uses JDK 1.4+ nested exception functionality rather than old J2CA 1.0 linked exception functionality.
Constructor Summary | |
---|---|
VistaLinkResourceException(java.lang.Exception e)
Constructor. |
|
VistaLinkResourceException(java.lang.String reason)
Constructor. |
|
VistaLinkResourceException(java.lang.String reason,
java.lang.Exception e)
Constructor. |
|
VistaLinkResourceException(java.lang.String reason,
java.lang.String errorCode)
Constructor. |
|
VistaLinkResourceException(java.lang.String reason,
java.lang.String errorCode,
java.lang.Exception e)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getFullStackTrace()
Deprecated. Use Throwable.getStackTrace() instead. |
java.lang.String |
getMessage()
Returns the detail message, including nested messages from the nested exceptions. |
java.lang.Throwable |
getNestedException()
Deprecated. Use getCause() instead. |
void |
printStackTrace()
Prints the composite message and full embedded stack trace to System.err . |
void |
printStackTrace(java.io.PrintStream ps)
Prints the composite message and full embedded stack trace to the specified stream ps . |
void |
printStackTrace(java.io.PrintWriter pw)
Prints the composite message and full embedded stack trace to the specified print writer pw . |
Methods inherited from class javax.resource.ResourceException |
---|
getErrorCode, getLinkedException, setErrorCode, setLinkedException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VistaLinkResourceException(java.lang.String reason)
reason
- application level reason why this exception occurredThis constructor, method or field is not for public use. |
public VistaLinkResourceException(java.lang.Exception e)
e
- exception to nest in new VistaLinkResourceExceptionThis constructor, method or field is not for public use. |
public VistaLinkResourceException(java.lang.String reason, java.lang.String errorCode)
reason
- application level reason why this exception occurrederrorCode
- application level code reason why this exception occurredThis constructor, method or field is not for public use. |
public VistaLinkResourceException(java.lang.String reason, java.lang.String errorCode, java.lang.Exception e)
reason
- application level reason why this exception occurrederrorCode
- application level code reason why this exception occurrede
- exception to nest in new VistaLinkResourceExceptionThis constructor, method or field is not for public use. |
public VistaLinkResourceException(java.lang.String reason, java.lang.Exception e)
reason
- application level reason why this exception occurrede
- exception to nest in new VistaLinkResourceExceptionThis constructor, method or field is not for public use. |
Method Detail |
---|
public java.lang.Throwable getNestedException()
getNestedException
in interface FoundationsExceptionInterface
FoundationsExceptionInterface.getNestedException()
public java.lang.String getMessage()
getMessage
in class javax.resource.ResourceException
Throwable.getMessage()
public void printStackTrace(java.io.PrintStream ps)
ps
.
printStackTrace
in class java.lang.Throwable
ps
- the print streamThrowable.printStackTrace(java.io.PrintStream)
public void printStackTrace(java.io.PrintWriter pw)
pw
.
printStackTrace
in class java.lang.Throwable
pw
- the print writerThrowable.printStackTrace(java.io.PrintWriter)
public void printStackTrace()
System.err
.
printStackTrace
in class java.lang.Throwable
Throwable.printStackTrace()
public java.lang.String getFullStackTrace()
getFullStackTrace
in interface FoundationsExceptionInterface
FoundationsExceptionInterface.getFullStackTrace()
|
VistALink v1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |