be.ehealth.businessconnector.consultrn.exception.manageperson

## Class ConsultrnRegisterPersonException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - be.ehealth.business.common.exception.EhealthServiceV2Exception
      - - be.ehealth.businessconnector.consultrn.exception.manageperson.ConsultrnRegisterPersonException

- All Implemented Interfaces:
    Serializable

      public class ConsultrnRegisterPersonException
      extends EhealthServiceV2Exception

  Connector Exception thrown when the registerPerson operation response indicates an error status code and no existing persons have been found.

  If needed the response object is made accessible through the `getRegisterPersonResponse` method. If present the business anomalies object is made accessible through the `getBusinessAnomalies` method.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConsultrnRegisterPersonException(RegisterPersonResponse response)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `BusinessAnomalies` | `getBusinessAnomalies()`
    `RegisterPersonResponse` | `getRegisterPersonResponse()`

    - ### Methods inherited from class be.ehealth.business.common.exception.EhealthServiceV2Exception

      `getResponse`

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

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

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

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

- - ### Constructor Detail

    - #### ConsultrnRegisterPersonException

          public ConsultrnRegisterPersonException(RegisterPersonResponse response)

  - ### Method Detail

    - #### getRegisterPersonResponse

          public RegisterPersonResponse getRegisterPersonResponse()

    - #### getBusinessAnomalies

          public BusinessAnomalies getBusinessAnomalies()

Connector Packaging PERSDIETICIAN 4.0.2 API
Copyright © {inceptionYear}-2021 eHealth. All Rights Reserved.