Uses of Interface
com.sap.cds.services.application.ErrorResponseEventContext.ErrorResponse
-
Uses of ErrorResponseEventContext.ErrorResponse in com.sap.cds.services.application
Modifier and TypeMethodDescriptionErrorResponseEventContext.ErrorResponse.create()
Creates a new instance ofErrorResponseEventContext.ErrorResponse
.ApplicationLifecycleService.errorResponse
(ServiceException exception) Called by protoocol adapters to control transformation of exception and messages into an error response.ErrorResponseEventContext.getResult()
Returns theErrorResponseEventContext.ErrorResponse
with messages and target HTTP status.Modifier and TypeMethodDescriptionvoid
ErrorResponseEventContext.setResult
(ErrorResponseEventContext.ErrorResponse errorResponse) Sets theErrorResponseEventContext.ErrorResponse
with messages and target HTTP status.