Uses of Interface
com.sap.cds.services.application.ErrorResponseEventContext.ErrorResponse
Packages that use ErrorResponseEventContext.ErrorResponse
-
Uses of ErrorResponseEventContext.ErrorResponse in com.sap.cds.services.application
Methods in com.sap.cds.services.application that return ErrorResponseEventContext.ErrorResponseModifier 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.Methods in com.sap.cds.services.application with parameters of type ErrorResponseEventContext.ErrorResponseModifier and TypeMethodDescriptionvoid
ErrorResponseEventContext.setResult
(ErrorResponseEventContext.ErrorResponse errorResponse) Sets theErrorResponseEventContext.ErrorResponse
with messages and target HTTP status.