VistALink v1.5.0.026

gov.va.med.vistalink.adapter.record
Class VistaLinkFaultException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bygov.va.med.exception.FoundationsException
              extended bygov.va.med.vistalink.adapter.record.VistaLinkFaultException
All Implemented Interfaces:
FoundationsExceptionInterface, java.io.Serializable
Direct Known Subclasses:
LoginsDisabledFaultException, NoJobSlotsAvailableFaultException, RpcFaultException, SecurityFaultException

public class VistaLinkFaultException
extends FoundationsException

Exception encapsulates Fault information coming from M side.

M side can pass bak to Java error condition in the system Fault message. If this condition happens, VLJ creates VistaLinkFaultException and populates it's properties with data from the Fault message.

All other Fault exceptions are subclassed from this exception.

Version:
1.5.0.026
Author:
Application Modernization - Foundations Team
See Also:
Serialized Form

Constructor Summary
VistaLinkFaultException()
          Constructor for VistaLinkFaultException.
VistaLinkFaultException(java.lang.Exception nestedException)
          Constructor for VistaLinkFaultException.
VistaLinkFaultException(java.lang.String msg)
          Constructor for VistaLinkFaultException.
VistaLinkFaultException(java.lang.String msg, java.lang.Exception nestedException)
          Constructor for VistaLinkFaultException.
VistaLinkFaultException(java.lang.String errorCode, java.lang.String errorMessage, java.lang.String errorType, java.lang.String faultActor, java.lang.String faultCode, java.lang.String faultString)
          Passed-in parameter values are stored as members of the exception.
 
Method Summary
 java.lang.String getErrorCode()
          Returns the errorCode.
 java.lang.String getErrorMessage()
          Returns the errorMessage.
 java.lang.String getErrorType()
          Returns the errorType.
 java.lang.String getFaultActor()
          Returns the faultActor.
 java.lang.String getFaultCode()
          Returns the faultCode.
 java.lang.String getFaultString()
          Returns the faultString.
 
Methods inherited from class gov.va.med.exception.FoundationsException
getFullStackTrace, getMessage, getNestedException, printStackTrace, printStackTrace, printStackTrace
 
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

VistaLinkFaultException

public VistaLinkFaultException()
Constructor for VistaLinkFaultException.

See Also:
Object.Object()
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

VistaLinkFaultException

public VistaLinkFaultException(java.lang.String msg)
Constructor for VistaLinkFaultException.

See Also:
Throwable.Throwable(java.lang.String)
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

VistaLinkFaultException

public VistaLinkFaultException(java.lang.String errorCode,
                               java.lang.String errorMessage,
                               java.lang.String errorType,
                               java.lang.String faultActor,
                               java.lang.String faultCode,
                               java.lang.String faultString)
Passed-in parameter values are stored as members of the exception. Exception message string is constructed from the parameters.

Parameters:
errorCode -
errorMessage -
errorType -
faultActor -
faultCode -
faultString -
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

VistaLinkFaultException

public VistaLinkFaultException(java.lang.Exception nestedException)
Constructor for VistaLinkFaultException.

See Also:
gov.va.med.exception.FoundationsException#FoundationsException(java.lang.Exception)
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

VistaLinkFaultException

public VistaLinkFaultException(java.lang.String msg,
                               java.lang.Exception nestedException)
Constructor for VistaLinkFaultException.

See Also:
gov.va.med.exception.FoundationsException#FoundationsException(java.lang.String, java.lang.Exception)
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.
Method Detail

getErrorCode

public java.lang.String getErrorCode()
Returns the errorCode.

Returns:
String

getErrorMessage

public java.lang.String getErrorMessage()
Returns the errorMessage.

Returns:
String

getErrorType

public java.lang.String getErrorType()
Returns the errorType.

Returns:
String

getFaultActor

public java.lang.String getFaultActor()
Returns the faultActor.

Returns:
String

getFaultCode

public java.lang.String getFaultCode()
Returns the faultCode.

Returns:
String

getFaultString

public java.lang.String getFaultString()
Returns the faultString.

Returns:
String

VistALink v1.5.0.026

VistALink v1.5.0.026