| Package | Description |
|---|---|
| org.wso2.carbon.appmgt.rest.api.util.utils |
| Modifier and Type | Method and Description |
|---|---|
static NotFoundException |
RestApiUtil.buildNotFoundException(String resource,
String id)
Returns a new NotFoundException
|
| Modifier and Type | Method and Description |
|---|---|
static void |
RestApiUtil.handleResourceNotFoundError(String resource,
String id,
org.apache.commons.logging.Log log)
Logs the error, builds a NotFoundException with specified details and throws it
|
static void |
RestApiUtil.handleResourceNotFoundError(String resource,
String id,
Throwable t,
org.apache.commons.logging.Log log)
Logs the error, builds a NotFoundException with specified details and throws it
|
Copyright © 2017 WSO2. All rights reserved.