Class PolicyViolationException

    • Constructor Detail

      • PolicyViolationException

        public PolicyViolationException()
      • PolicyViolationException

        public PolicyViolationException​(String message)
      • PolicyViolationException

        public PolicyViolationException​(LocalizableMessage userFriendlyMessage)
      • PolicyViolationException

        public PolicyViolationException​(Throwable cause)
      • PolicyViolationException

        public PolicyViolationException​(String message,
                                        Throwable cause)
    • Method Detail

      • getErrorTypeMessage

        public String getErrorTypeMessage()
        Description copied from class: CommonException
        Returns a human-readable message that describes the type or class of errors that the exception represents. E.g. "Communication error", "Policy violation", etc. TODO: switch return value to a localized message
        Specified by:
        getErrorTypeMessage in class CommonException