Class BlueMindRefusedException

All Implemented Interfaces:
Serializable

public class BlueMindRefusedException extends BlueMindException
BlueMind read the request and refused its content: a 500 whose fault code is INVALID_PARAMETER or FORBIDDEN, which is how BlueMind's mail filter validators answer a rule they will not store (MailFilterValidator, MailFilterForwardRoleValidator: a malformed condition, a forward to the owner's own address, a forward outside the domain without the mailForwarding role, a rule placed among another client's rules).

Distinguished from BlueMindUnreachableException, which every other 500 fault stays: the server is up and answered, and sending the same request again changes nothing.

See Also:
  • Constructor Details

    • BlueMindRefusedException

      public BlueMindRefusedException(String message, String code)
      A refused request.
      Parameters:
      message - what was refused, in server-and-address terms
      code - the fault code BlueMind answered
  • Method Details

    • getFaultCode

      public String getFaultCode()
      The fault code BlueMind answered.
      Returns:
      INVALID_PARAMETER or FORBIDDEN