Class PasswordException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PasswordMakerAccessException, PasswordMakerInvalidArgumentsException

public sealed class PasswordException extends RuntimeException permits PasswordMakerAccessException, PasswordMakerInvalidArgumentsException
A sealed class that represents exceptions related to password handling. This class is extended by PasswordMakerAccessException and PasswordMakerInvalidArgumentsException.
Since:
2024. 6. 4.
Author:
yongjunhong
See Also:
  • Constructor Details

    • PasswordException

      public PasswordException(String message, Throwable cause)
      Constructs a new password exception with the specified detail message and cause.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method)
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
    • PasswordException

      public PasswordException(String message)
      Constructs a new password exception with the specified detail message.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method)