public class JWKException extends KeyException
| Constructor and Description |
|---|
JWKException(String message)
Creates a new JWK with the specified message.
|
| Modifier and Type | Method and Description |
|---|---|
static JWKException |
expectedClass(Class<? extends JWK> expectedJWKClass)
Creates a new JWK type exception.
|
static JWKException |
expectedPrivate() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic JWKException(String message)
message - The exception message.public static JWKException expectedClass(Class<? extends JWK> expectedJWKClass)
expectedJWKClass - The expected JWK class. Should not be
null.public static JWKException expectedPrivate()
Copyright © 2020 Connect2id Ltd.. All rights reserved.