public abstract class WWWChallengeException extends KangarooException
KangarooException.ErrorCode| Modifier | Constructor and Description |
|---|---|
protected |
WWWChallengeException(KangarooException.ErrorCode code,
javax.ws.rs.core.UriInfo requestInfo,
String[] requiredScopes)
Create a new exception with the specified error code.
|
| Modifier and Type | Method and Description |
|---|---|
URI |
getRealm()
The URI Realm.
|
String[] |
getRequiredScopes()
Get the required scopes.
|
getCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected WWWChallengeException(KangarooException.ErrorCode code, javax.ws.rs.core.UriInfo requestInfo, String[] requiredScopes)
code - The error code enum type.requestInfo - The original URI request, from which we're
going to derive our realm.requiredScopes - A list of required scopes.Copyright © 2018 krotscheck.net. All rights reserved.