public class RestException extends WebApplicationException
Constructor and Description |
---|
RestException(int code,
String message,
Exception exception,
IDouiRestInterfaceRequest.ResponseType responseType)
Treats the exceptions thats occurs during the rest request process.
|
RestException(int code,
String message,
IDouiRestInterfaceRequest.ResponseType responseType)
Treats the exceptions that occurs during the rest request process.
|
getResponse
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RestException(int code, String message, Exception exception, IDouiRestInterfaceRequest.ResponseType responseType)
code
- HTTP status code, e.g., 403, 404, 500, etc.message
- the message that will be send to client.e
- exception to be logged.public RestException(int code, String message, IDouiRestInterfaceRequest.ResponseType responseType)
code
- HTTP status code, e.g., 403, 404, 500, etc.message
- the message that will be send to client.LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.