Class LocalizedSecurityException

All Implemented Interfaces:
Serializable, LocalizableException

public class LocalizedSecurityException extends SecurityException implements LocalizableException
A localized SecurityException.
See Also:
  • Constructor Details

    • LocalizedSecurityException

      public LocalizedSecurityException(LocalizableMessage message)
      Creates a new localized security exception with the provided message.
      Parameters:
      message - The message that explains the problem that occurred.
    • LocalizedSecurityException

      public LocalizedSecurityException(Throwable cause)
      Creates a new localized security exception with the provided cause.
      Parameters:
      cause - The cause which may be later retrieved by the Throwable.getCause() method.
    • LocalizedSecurityException

      public LocalizedSecurityException(LocalizableMessage message, Throwable cause)
      Creates a new localized security exception with the provided message and cause.
      Parameters:
      message - The message that explains the problem that occurred.
      cause - The cause which may be later retrieved by the Throwable.getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.
  • Method Details

    • getMessageObject

      public final LocalizableMessage getMessageObject()
      Description copied from interface: LocalizableException
      Returns the localizable message that explains the problem that occurred.
      Specified by:
      getMessageObject in interface LocalizableException
      Returns:
      The localizable message that explains the problem that occurred.
    • fillInStackTrace

      public Throwable fillInStackTrace()
      Prevent costly stack traces from being created because they are not useful for this type of exception.
      Overrides:
      fillInStackTrace in class Throwable