Class SecurityViolationException

  • All Implemented Interfaces:
    Direct Known Subclasses:

    public class SecurityViolationException
    extends CommonException
    Exception indicating violation of security policies. It is SecurityViolationException to avoid confusion with java.lang.SecurityException
    Radovan Semancik
    See Also:
    Serialized Form
    • Constructor Detail

      • SecurityViolationException

        public SecurityViolationException()
      • SecurityViolationException

        public SecurityViolationException​(String message)
      • SecurityViolationException

        public SecurityViolationException​(LocalizableMessage userFriendlyMessage)
      • SecurityViolationException

        public SecurityViolationException​(Throwable cause)
      • SecurityViolationException

        public SecurityViolationException​(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