Package com.sap.cds.services
package com.sap.cds.services
-
ClassDescriptionFactory to create various objects for API interfaces.An
ErrorStatusis used byServiceExceptionto identify certain error types.This enum implementsErrorStatus, which is the interface required byServiceException.TheEventContextprovides information about the event that is emitted viaService.emit(EventContext).Annotation to be used on class level to specify the event which matches the interface of a deviatedEventContext.TheServiceCatalogprovides access to theServiceinstances and their consumption API.ServiceExceptionis the central unchecked exception thrown by the framework andHandlerwhen an error occurs during event processing viaService.emit(EventContext)It extendsRuntimeExceptionwith anErrorStatus, which indicates an internal error code and a mapping to an HTTP status code.Helper methods for creating (localized) messages inServiceException.