public class UnauthorizedException extends GravitinoRuntimeException
| Constructor and Description |
|---|
UnauthorizedException(java.lang.String message,
java.lang.Object... args)
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.Throwable cause,
java.lang.String message,
java.lang.Object... args)
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.
|
@FormatMethod
public UnauthorizedException(@FormatString
java.lang.String message,
java.lang.Object... args)
message - the detail message.args - the arguments to the message.@FormatMethod
public UnauthorizedException(java.lang.Throwable cause,
@FormatString
java.lang.String message,
java.lang.Object... args)
cause - the cause.message - the detail message.args - the arguments to the message.public UnauthorizedException(java.lang.String message,
java.lang.String challenge)
message - the detail message.challenge - the challenge.