be.ehealth.technicalconnector.utils

## Class ConnectorExceptionUtils

- java.lang.Object
- - be.ehealth.technicalconnector.utils.ConnectorExceptionUtils

-     public final class ConnectorExceptionUtils
      extends Object

  Utility class that handles specific errors.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `processSOAPFault(SOAPFaultException e)` Utility method that process the `SOAPFaultException` and translate it to `SoaErrorException` or `SOAPFaultException`.
    `static byte[]` | `processUnsealConnectorException(UnsealConnectorException e, String... allowedErrors)` Utility method that handles `UnsealConnectorException` by ignoring a Array of allowedErrors.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### processSOAPFault

          public static void processSOAPFault(SOAPFaultException e)
                                       throws SoaErrorException

      Utility method that process the `SOAPFaultException` and translate it to `SoaErrorException` or `SOAPFaultException`.
      Parameters:
        `e` -
      Throws:
        `SoaErrorException`

    - #### processUnsealConnectorException

          public static byte[] processUnsealConnectorException(UnsealConnectorException e,
                                                               String... allowedErrors)
                                                        throws TechnicalConnectorException

      Utility method that handles `UnsealConnectorException` by ignoring a Array of allowedErrors.

      If an empty array is passed all errors are ignored.

      Throws:
        `TechnicalConnectorException`

Connector Packaging PERSPODOLOGIST 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.