VistALink v1.6

gov.va.med.vistalink.security.m
Class SecurityFaultException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gov.va.med.exception.FoundationsException
              extended by gov.va.med.vistalink.adapter.record.VistaLinkFaultException
                  extended by gov.va.med.vistalink.security.m.SecurityFaultException
All Implemented Interfaces:
FoundationsExceptionInterface, java.io.Serializable
Direct Known Subclasses:
SecurityAccessVerifyCodePairInvalidException, SecurityConnectionProxyException, SecurityDivisionDeterminationFaultException, SecurityIdentityDeterminationFaultException, SecurityIPLockedFaultException, SecurityPrimaryStationMismatchException, SecurityProductionMismatchException, SecurityTooManyInvalidLoginAttemptsFaultException, SecurityUserAuthorizationException, SecurityUserVerifyCodeException

public class SecurityFaultException
extends VistaLinkFaultException

This fault exception class is used for all security-related errors returned from the M system. It represents an error that happened on the M system, that VistaLink does not provide a specific java exception for. It will not be returned directly to an application calling a Vista login. Instead, it would be nested within a VistaLoginModuleException which is directly returned to an application calling a Vista login.

Calling getMessage on a VistaLoginModuleException might, for example, reveal nested exceptions. For example:

ERROR: gov.va.med.vistalink.security.VistaLoginModuleException: Security fault occured on the M system.;
nested exception is: gov.va.med.vistalink.security.m.SecurityFaultException: Fault Code: 'Client'; Fault
String: 'Unexpected Message Format'; Fault Actor: ''; Code: '183002'; Type: ''; Message: 'Security message action
'AV.SetupAndIntroText' is an unknown security action.'

See Also:
VistaLoginModuleException, Serialized Form

Constructor Summary
SecurityFaultException(VistaLinkFaultException vistaLinkFaultException)
          Constructs a SecurityFaultException based on a VistaLinkFaultException
 
Method Summary
 
Methods inherited from class gov.va.med.vistalink.adapter.record.VistaLinkFaultException
getErrorCode, getErrorMessage, getErrorType, getFaultActor, getFaultCode, getFaultString
 
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

SecurityFaultException

public SecurityFaultException(VistaLinkFaultException vistaLinkFaultException)
Constructs a SecurityFaultException based on a VistaLinkFaultException

Parameters:
vistaLinkFaultException - Fault Exception
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

VistALink v1.6

VistALink v1.6