public class RestAPIUtil extends Object
| Constructor and Description |
|---|
RestAPIUtil() |
| Modifier and Type | Method and Description |
|---|---|
static ErrorDTO |
getErrorDTO(com.nimbusds.oauth2.sdk.ErrorObject errorObject)
Returns a generic errorDTO
|
static ErrorDTO |
getInternalServerErrorDTO()
Returns an Internal Server Error DTO
|
public static ErrorDTO getErrorDTO(com.nimbusds.oauth2.sdk.ErrorObject errorObject)
errorObject - The error handler object.public static ErrorDTO getInternalServerErrorDTO()
Copyright © 2017 WSO2. All rights reserved.