Package com.sap.cds.services
package com.sap.cds.services
-
ClassDescriptionFactory to create various objects for API interfaces.An
ErrorStatus
is used byServiceException
to identify certain error types.This enum implementsErrorStatus
, which is the interface required byServiceException
.TheEventContext
provides 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
.TheServiceCatalog
provides access to theService
instances and their consumption API.ServiceException
is the central unchecked exception thrown by the framework andHandler
when an error occurs during event processing viaService.emit(EventContext)
It extendsRuntimeException
with anErrorStatus
, which indicates an internal error code and a mapping to an HTTP status code.Helper methods for creating (localized) messages inServiceException
.