public class UnauthorizedException extends GravitinoRuntimeException
| Constructor and Description |
|---|
UnauthorizedException(java.lang.String message)
Constructs a new exception with the specified detail message.
|
UnauthorizedException(java.lang.String message,
java.lang.String challenge)
Constructs a new exception with the specified detail message and challenge.
|
UnauthorizedException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getChallenges()
Get the challenge of the exception.
|
public UnauthorizedException(java.lang.String message)
message - the detail message.public UnauthorizedException(java.lang.String message,
java.lang.Throwable cause)
message - the detail message.cause - the cause.public UnauthorizedException(java.lang.String message,
java.lang.String challenge)
message - the detail message.challenge - the challenge.