Class PasswordPolicyException

  • All Implemented Interfaces:
    Serializable

    public class PasswordPolicyException
    extends Exception
    A PasswordPolicyException is thrown when setting or changing a password and the new password doesn't comply to certain restrictions (like minimum length).
    Author:
    Patrick Schmidt
    See Also:
    Serialized Form
    • Constructor Detail

      • PasswordPolicyException

        public PasswordPolicyException()
        Constructs a new PasswordPolicyException with null. as detail message.
      • PasswordPolicyException

        public PasswordPolicyException​(String message)
        Constructs a new PasswordPolicyException with the given detail message.
        Parameters:
        message - the detail message
      • PasswordPolicyException

        public PasswordPolicyException​(String message,
                                       Throwable cause)
        Constructs a new PasswordPolicyException with null. as detail message and the given cause.
        Parameters:
        message - the detail message
        cause - the cause of this exception
      • PasswordPolicyException

        public PasswordPolicyException​(Throwable cause)
        Constructs a new PasswordPolicyException with null as detail message and the given cause.
        Parameters:
        cause - the cause of this exception