Class InvalidPasskeyLabelException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.irurueta.authserver.authorization.domain.passkeys.InvalidPasskeyLabelException
All Implemented Interfaces:
Serializable

public class InvalidPasskeyLabelException extends RuntimeException
Thrown when the label given to a passkey is refused: blank, or longer than allowed once trimmed. It is a domain exception of its own, rather than an IllegalArgumentException, so the web adapter can answer it as an invalid label without also turning every unrelated programming error into a 400.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version.
      See Also:
  • Constructor Details

    • InvalidPasskeyLabelException

      public InvalidPasskeyLabelException(String message)
      Creates the exception.
      Parameters:
      message - description of the problem.