Class IntegrationModuleException

    • Constructor Detail

      • IntegrationModuleException

        public IntegrationModuleException()
      • IntegrationModuleException

        public IntegrationModuleException​(String message,
                                          Throwable cause)
        Instantiates a new integration module exception.
        Parameters:
        message - the message
        cause - the cause
      • IntegrationModuleException

        public IntegrationModuleException​(String code,
                                          String message)
        Instantiates a new integration module exception.
        Parameters:
        code - the code
        message - the message
      • IntegrationModuleException

        public IntegrationModuleException​(String message,
                                          ResponseType response)
        Instantiates a new integration module exception.
        Parameters:
        message - the message
      • IntegrationModuleException

        public IntegrationModuleException​(String message)
        Instantiates a new integration module exception.
        Parameters:
        message - the message
      • IntegrationModuleException

        public IntegrationModuleException​(Throwable cause)
        Instantiates a new integration module exception.
        Parameters:
        cause - the cause
    • Method Detail

      • getUserLocale

        public static String getUserLocale()
        Gets the user locale.
        Returns:
        the user locale
      • getCode

        public String getCode()
        Gets the code.
        Returns:
        the code
      • setCode

        public void setCode​(String code)
        Sets the code.
        Parameters:
        code - the code to set
      • getStatusUpdater

        public String getStatusUpdater()
        Gets the status updater.
        Returns:
        the statusUpdater
      • setStatusUpdater

        public void setStatusUpdater​(String statusUpdater)
        Sets the status updater.
        Parameters:
        statusUpdater - the statusUpdater to set
      • getMessageCode

        public String getMessageCode()
        Returns:
        the messageCode
      • setMessageCode

        public void setMessageCode​(String messageCode)
        Parameters:
        messageCode - the messageCode to set
      • getMessages

        public List<LocalisedString> getMessages()
        Gets the messages.
        Returns:
        the messages
      • getMessage

        public String getMessage​(LangageType language)
        Gets the messages.
        Returns:
        the messages
      • setMessages

        public void setMessages​(List<LocalisedString> messages)
        Sets the messages.
        Parameters:
        messages - the messages to set
      • getPrescriptionStatus

        public PrescriptionStatus getPrescriptionStatus()
        Returns:
        the prescriptionStatus
      • setPrescriptionStatus

        public void setPrescriptionStatus​(PrescriptionStatus prescriptionStatus)
        Parameters:
        prescriptionStatus - the prescriptionStatus to set