|
VLJ Iteration II, v. 1.0.0.193 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ResourceException | +--gov.va.med.foundations.adapter.cci.VistaLinkResourceException
Represents a ResourceException thrown by the VistaLink adapter.
Nested exception handling code is identical to FoundationsException
nested exception handling code.
Nested exception is not stored as a memeber of this class as ResourceException
has it's own member variable that is used to store nested exception.
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()
Returns the composite message and full embedded stack trace stack trace |
java.lang.String |
getMessage()
Returns the detail message, including nested messages from the nested exceptions. |
java.lang.Throwable |
getNestedException()
Return full stack trace. |
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VistaLinkResourceException(java.lang.String reason)
reason
- application level reason why this exception occuredpublic VistaLinkResourceException(java.lang.Exception e)
e
- exception to nest in new VistaLinkResourceExceptionpublic VistaLinkResourceException(java.lang.String reason, java.lang.String errorCode)
reason
- application level reason why this exception occurederrorCode
- application level code reason why this exception occuredpublic VistaLinkResourceException(java.lang.String reason, java.lang.String errorCode, java.lang.Exception e)
reason
- application level reason why this exception occurederrorCode
- application level code reason why this exception occurede
- exception to nest in new VistaLinkResourceExceptionpublic VistaLinkResourceException(java.lang.String reason, java.lang.Exception e)
reason
- application level reason why this exception occurede
- exception to nest in new VistaLinkResourceExceptionMethod Detail |
public java.lang.Throwable getNestedException()
getNestedException
in interface FoundationsExceptionInterface
FoundationsExceptionInterface.getNestedException()
public java.lang.String getMessage()
Throwable.getMessage()
public void printStackTrace(java.io.PrintStream ps)
ps
.
ps
- the print streamThrowable.printStackTrace(java.io.PrintStream)
public void printStackTrace(java.io.PrintWriter pw)
pw
pw
- the print writerThrowable.printStackTrace(java.io.PrintWriter)
public void printStackTrace()
System.err
.
Throwable.printStackTrace()
public java.lang.String getFullStackTrace()
getFullStackTrace
in interface FoundationsExceptionInterface
FoundationsExceptionInterface.getFullStackTrace()
|
VLJ Iteration II, v. 1.0.0.193 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |