Class SecurityViolationException

All Implemented Interfaces:
SeverityAwareException, Serializable
Direct Known Subclasses:
AuthorizationException, NotLoggedInException

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

    • 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)
    • SecurityViolationException

      public SecurityViolationException(LocalizableMessage userFriendlyMessage, 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