| Package | Description |
|---|---|
| org.wso2.carbon.appmgt.rest.api.util.utils |
| Modifier and Type | Method and Description |
|---|---|
static ForbiddenException |
RestApiUtil.buildAuthorizationFailedException(String description)
Returns a new ForbiddenException
|
static ForbiddenException |
RestApiUtil.buildForbiddenException(String description)
Returns a new ConflictException
|
| Modifier and Type | Method and Description |
|---|---|
static void |
RestApiUtil.handleAuthorizationFailedError(String description,
Throwable t,
org.apache.commons.logging.Log log)
Logs the error, builds a NotFoundException with specified details and throws it
|
static void |
RestApiUtil.handleForbiddenRequest(String msg,
org.apache.commons.logging.Log log)
Logs the error, builds a BadRequestException with specified details and throws it
|
Copyright © 2017 WSO2. All rights reserved.