| Package | Description |
|---|---|
| org.wso2.carbon.appmgt.rest.api.util.exception | |
| org.wso2.carbon.appmgt.rest.api.util.utils |
| Constructor and Description |
|---|
BadRequestException(ErrorDTO errorDTO) |
ConflictException(ErrorDTO errorDTO) |
ForbiddenException(ErrorDTO errorDTO) |
InternalServerErrorException(ErrorDTO errorDTO) |
MethodNotAllowedException(ErrorDTO errorDTO) |
NotFoundException(ErrorDTO errorDTO) |
PreconditionFailedException(ErrorDTO errorDTO) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ErrorDTO |
RestApiUtil.getConstraintViolationErrorDTO(Set<javax.validation.ConstraintViolation<T>> violations) |
static ErrorDTO |
RestApiUtil.getErrorDTO(String message,
Long code,
String description)
Returns a generic errorDTO
|
Copyright © 2017 WSO2. All rights reserved.