be.ehealth.technicalconnector.exception
Class SoaErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by be.ehealth.technicalconnector.exception.ConnectorException
              extended by be.ehealth.technicalconnector.exception.TechnicalConnectorException
                  extended by be.ehealth.technicalconnector.exception.SoaErrorException
All Implemented Interfaces:
Serializable

public class SoaErrorException
extends TechnicalConnectorException

exception which contains result of soa error from webservice. allows for easy retrieval of error messages

See Also:
Serialized Form

Constructor Summary
SoaErrorException(String errorCode, ErrorType errorType)
           
SoaErrorException(String errorCode, ResponseType responseType)
           
SoaErrorException(String errorCode, ResponseType responseType)
           
 
Method Summary
 String getErrorCode()
          Gets the fault code.
 ErrorType getErrorType()
           
 ResponseType getResponseType()
           
 ResponseType getResponseTypeV2()
           
 
Methods inherited from class be.ehealth.technicalconnector.exception.TechnicalConnectorException
getCategory
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoaErrorException

public SoaErrorException(String errorCode,
                         ResponseType responseType)
Parameters:
format -
errorCode -

SoaErrorException

public SoaErrorException(String errorCode,
                         ResponseType responseType)
Parameters:
format -
errorCode -

SoaErrorException

public SoaErrorException(String errorCode,
                         ErrorType errorType)
Parameters:
format -
errorCode -
Method Detail

getErrorCode

public String getErrorCode()
Description copied from class: ConnectorException
Gets the fault code.

Overrides:
getErrorCode in class ConnectorException
Returns:
the errorCode

getResponseType

public ResponseType getResponseType()
Returns:
the responseType

getResponseTypeV2

public ResponseType getResponseTypeV2()
Returns:
the responseTypeV1

getErrorType

public ErrorType getErrorType()
Returns:
the errorType



Connector Packaging PERSDIETICIAN 3.11.1 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.