Class LocalizedSaslException

All Implemented Interfaces:
Serializable, LocalizableException

public final class LocalizedSaslException extends SaslException implements LocalizableException
A localized SaslException.
See Also:
  • Constructor Details

    • LocalizedSaslException

      public LocalizedSaslException(LocalizableMessage message)
      Creates a new localized SASL exception with the provided message.
      Parameters:
      message - the message
    • LocalizedSaslException

      public LocalizedSaslException(LocalizableMessage message, Throwable cause)
      Creates a new localized SASL exception with the provided message and cause.
      Parameters:
      message - the message
      cause - the cause
  • Method Details

    • 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
    • getMessageObject

      public 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.