Class CodeGenerationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.totp.CodeGenerationException
All Implemented Interfaces:
Serializable

public class CodeGenerationException extends Exception
Thrown when a code cannot be generated, e.g. the secret is not valid Base32 or the HMAC algorithm is unavailable.
See Also:
  • Constructor Details

    • CodeGenerationException

      public CodeGenerationException(String message, Throwable cause)
      Constructs the exception.
      Parameters:
      message - The message.
      cause - The cause.