Class PolicyViolationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IndestructibilityViolationException, ThresholdPolicyViolationException

public class PolicyViolationException extends CommonException
Author:
semancik
See Also:
  • Constructor Details

    • PolicyViolationException

      public PolicyViolationException()
    • PolicyViolationException

      public PolicyViolationException(String message)
    • PolicyViolationException

      public PolicyViolationException(LocalizableMessage userFriendlyMessage)
    • PolicyViolationException

      public PolicyViolationException(Throwable cause)
    • PolicyViolationException

      public PolicyViolationException(LocalizableMessage userFriendlyMessage, Throwable cause)
    • PolicyViolationException

      public PolicyViolationException(String message, Throwable cause)
  • Method Details

    • 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