Uses of Class
org.apache.olingo.odata2.api.exception.ODataException
Packages that use ODataException
Package
Description
OData Library API
Entity Data Model API
Entity Data Model Provider API
Entity Provider
Exception Classes used in the OData library as well as the implementing application
Data Processor
Processor Features
Processor Parts
URI Parser Facade
Expression Parser
-
Uses of ODataException in org.apache.olingo.odata2.api
Methods in org.apache.olingo.odata2.api that throw ODataExceptionModifier and TypeMethodDescriptionabstract ODataServiceODataServiceFactory.createService(ODataContext ctx) Create instance of customODataService.ODataService.getBatchProcessor()ODataService.getEntityComplexPropertyProcessor()ODataService.getEntityDataModel()ODataService.getEntityLinkProcessor()ODataService.getEntityLinksProcessor()ODataService.getEntityMediaProcessor()ODataService.getEntityProcessor()ODataService.getEntitySetProcessor()ODataService.getEntitySimplePropertyProcessor()ODataService.getEntitySimplePropertyValueProcessor()ODataService.getFunctionImportProcessor()ODataService.getFunctionImportValueProcessor()ODataService.getMetadataProcessor()ODataService.getProcessor()ODataService.getServiceDocumentProcessor()ODataService.getSupportedContentTypes(Class<? extends ODataProcessor> processorFeature) ODataService.getVersion() -
Uses of ODataException in org.apache.olingo.odata2.api.batch
Subclasses of ODataException in org.apache.olingo.odata2.api.batchMethods in org.apache.olingo.odata2.api.batch that throw ODataExceptionModifier and TypeMethodDescriptionBatchHandler.handleBatchPart(BatchRequestPart batchRequestPart) Handles theBatchRequestPartin a way that it results in a correspondingBatchResponsePart.BatchHandler.handleRequest(ODataRequest request) Delegates a handling of the requestODataRequestto the request handler and provides ODataResponseODataResponse. -
Uses of ODataException in org.apache.olingo.odata2.api.edm
Subclasses of ODataException in org.apache.olingo.odata2.api.edmModifier and TypeClassDescriptionclassclassclassMethods in org.apache.olingo.odata2.api.edm that throw ODataExceptionModifier and TypeMethodDescriptionEdmServiceMetadata.getDataServiceVersion()EdmServiceMetadata.getEntitySetInfos()EdmServiceMetadata.getMetadata() -
Uses of ODataException in org.apache.olingo.odata2.api.edm.provider
Methods in org.apache.olingo.odata2.api.edm.provider that throw ODataExceptionModifier and TypeMethodDescriptionEdmProvider.getAliasInfos()This method should return a list of all defined aliases and their associated namespace.EdmProvider.getAssociation(FullQualifiedName edmFQName) This method should return anAssociationor null if nothing is foundEdmProvider.getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole) This method should return anAssociationSetor null if nothing is foundEdmProvider.getComplexType(FullQualifiedName edmFQName) This method should return aComplexTypeor null if nothing is foundEdmProvider.getEntityContainerInfo(String name) This method should return anEntityContainerInfoor null if nothing is foundEdmProvider.getEntitySet(String entityContainer, String name) This method should return anEntitySetor null if nothing is foundEdmProvider.getEntityType(FullQualifiedName edmFQName) This method should return anEntityTypeor null if nothing is foundEdmProvider.getFunctionImport(String entityContainer, String name) This method should return aFunctionImportor null if nothing is foundEdmProvider.getSchemas()This method should return a collection of allSchemaor null if nothing is found -
Uses of ODataException in org.apache.olingo.odata2.api.ep
Subclasses of ODataException in org.apache.olingo.odata2.api.epModifier and TypeClassDescriptionclassAnEntityProviderExceptionis the base exception for allEntityProviderrelated exceptions. -
Uses of ODataException in org.apache.olingo.odata2.api.exception
Subclasses of ODataException in org.apache.olingo.odata2.api.exceptionModifier and TypeClassDescriptionclassThis class represents a translated application exception.classExceptions of this class will result in a HTTP status 400 bad requestclassExceptions of this class will result in a HTTP status 409 ConflictclassExceptions of this class will result in a HTTP status 403 forbiddenclassODataMessageExceptionwith a HTTP status code.classclassDO NOT EXTEND THIS EXCEPTIONclassExceptions of this class will result in a HTTP status 405 (method not allowed).classExceptions of this class will result in a HTTP status 406 not acceptableclassExceptions of this class will result in a HTTP status 404 not foundclassExceptions of this class will result in a HTTP status 501 (Not implemented).classExceptions of this class will result in a HTTP Status 412 Precondition Failed.classExceptions of this class will result in a HTTP status 428 precondition requiredclassExceptions of this class will result in a HTTP status 503 service unavailableclassExceptions of this class will result in a HTTP status 415 unsupported media typeMethod parameters in org.apache.olingo.odata2.api.exception with type arguments of type ODataExceptionModifier and TypeMethodDescriptionstatic MessageReferenceMessageReference.create(Class<? extends ODataException> clazz, String key) -
Uses of ODataException in org.apache.olingo.odata2.api.processor
Methods in org.apache.olingo.odata2.api.processor that throw ODataExceptionModifier and TypeMethodDescriptionODataSingleProcessor.countEntityLinks(GetEntitySetLinksCountUriInfo uriInfo, String contentType) ODataSingleProcessor.countEntitySet(GetEntitySetCountUriInfo uriInfo, String contentType) ODataSingleProcessor.createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) ODataSingleProcessor.createEntityLink(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) ODataSingleProcessor.deleteEntity(DeleteUriInfo uriInfo, String contentType) ODataSingleProcessor.deleteEntityLink(DeleteUriInfo uriInfo, String contentType) ODataSingleProcessor.deleteEntityMedia(DeleteUriInfo uriInfo, String contentType) ODataSingleProcessor.deleteEntitySimplePropertyValue(DeleteUriInfo uriInfo, String contentType) ODataSingleProcessor.executeBatch(BatchHandler handler, String contentType, InputStream content) ODataSingleProcessor.executeChangeSet(BatchHandler handler, List<ODataRequest> requests) ODataSingleProcessor.executeFunctionImport(GetFunctionImportUriInfo uriInfo, String contentType) ODataSingleProcessor.executeFunctionImportValue(GetFunctionImportUriInfo uriInfo, String contentType) ODataSingleProcessor.existsEntity(GetEntityCountUriInfo uriInfo, String contentType) ODataSingleProcessor.existsEntityLink(GetEntityLinkCountUriInfo uriInfo, String contentType) ODataProcessor.getContext()ODataSingleProcessor.getCustomContentTypes(Class<? extends ODataProcessor> processorFeature) ODataResponse.getEntityAsStream()ODataContext.getPathInfo()Gets information about the request path.ODataContext.getService()Gets the OData service.ODataSingleProcessor.readEntity(GetEntityUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntityLink(GetEntityLinkUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntityLinks(GetEntitySetLinksUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntityMedia(GetMediaResourceUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntitySet(GetEntitySetUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType) ODataSingleProcessor.readMetadata(GetMetadataUriInfo uriInfo, String contentType) ODataSingleProcessor.readServiceDocument(GetServiceDocumentUriInfo uriInfo, String contentType) voidODataProcessor.setContext(ODataContext context) ODataSingleProcessor.updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) ODataSingleProcessor.updateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) ODataSingleProcessor.updateEntityLink(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) ODataSingleProcessor.updateEntityMedia(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) ODataSingleProcessor.updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) ODataSingleProcessor.updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) -
Uses of ODataException in org.apache.olingo.odata2.api.processor.feature
Methods in org.apache.olingo.odata2.api.processor.feature that throw ODataExceptionModifier and TypeMethodDescriptionCustomContentType.getCustomContentTypes(Class<? extends ODataProcessor> processorFeature) The OData library will consider these additional content types during negotiation of http content type header. -
Uses of ODataException in org.apache.olingo.odata2.api.processor.part
Methods in org.apache.olingo.odata2.api.processor.part that throw ODataExceptionModifier and TypeMethodDescriptionEntityLinksProcessor.countEntityLinks(GetEntitySetLinksCountUriInfo uriInfo, String contentType) Counts the number of target entities of a navigation property.EntitySetProcessor.countEntitySet(GetEntitySetCountUriInfo uriInfo, String contentType) Counts the number of requested entities.EntitySetProcessor.createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Creates an entity.EntityLinksProcessor.createEntityLink(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Creates a new link to a target entity of a navigation property.EntityProcessor.deleteEntity(DeleteUriInfo uriInfo, String contentType) Deletes an entity.EntityLinkProcessor.deleteEntityLink(DeleteUriInfo uriInfo, String contentType) Deletes the link to the target entity of a navigation property.EntityMediaProcessor.deleteEntityMedia(DeleteUriInfo uriInfo, String contentType) Deletes the media resource of an entity.EntitySimplePropertyValueProcessor.deleteEntitySimplePropertyValue(DeleteUriInfo uriInfo, String contentType) Deletes the value of a simple property of an entity.BatchProcessor.executeBatch(BatchHandler handler, String contentType, InputStream content) Executes a OData batch request and provide Batch Response asODataResponseBatchProcessor.executeChangeSet(BatchHandler handler, List<ODataRequest> requests) Executes a Change Set and provide BatchResponsePart asBatchResponsePartthat contains the responses to change requests.FunctionImportProcessor.executeFunctionImport(GetFunctionImportUriInfo uriInfo, String contentType) Executes a function import and returns the result.FunctionImportValueProcessor.executeFunctionImportValue(GetFunctionImportUriInfo uriInfo, String contentType) Returns the unformatted value of a function import.EntityProcessor.existsEntity(GetEntityCountUriInfo uriInfo, String contentType) Checks whether an entity exists.EntityLinkProcessor.existsEntityLink(GetEntityLinkCountUriInfo uriInfo, String contentType) Returns whether the target entity of a navigation property exists.EntityProcessor.readEntity(GetEntityUriInfo uriInfo, String contentType) Reads an entity.EntityComplexPropertyProcessor.readEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType) Reads a complex property of an entity.EntityLinkProcessor.readEntityLink(GetEntityLinkUriInfo uriInfo, String contentType) Reads the URI of the target entity of a navigation property.EntityLinksProcessor.readEntityLinks(GetEntitySetLinksUriInfo uriInfo, String contentType) Reads the URIs of the target entities of a navigation property.EntityMediaProcessor.readEntityMedia(GetMediaResourceUriInfo uriInfo, String contentType) Reads the media resource of an entity.EntitySetProcessor.readEntitySet(GetEntitySetUriInfo uriInfo, String contentType) Reads entities.EntitySimplePropertyProcessor.readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType) Reads a simple property of an entity.EntitySimplePropertyValueProcessor.readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType) Reads the unformatted value of a simple property of an entity.MetadataProcessor.readMetadata(GetMetadataUriInfo uriInfo, String contentType) ServiceDocumentProcessor.readServiceDocument(GetServiceDocumentUriInfo uriInfo, String contentType) EntityProcessor.updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) Updates an entity.EntityComplexPropertyProcessor.updateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) Updates a complex property of an entity.EntityLinkProcessor.updateEntityLink(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Updates the link to the target entity of a navigation property.EntityMediaProcessor.updateEntityMedia(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Updates the media resource of an entity.EntitySimplePropertyProcessor.updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Updates a simple property of an entity.EntitySimplePropertyValueProcessor.updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Updates a simple property of an entity with an unformatted value. -
Uses of ODataException in org.apache.olingo.odata2.api.uri
Subclasses of ODataException in org.apache.olingo.odata2.api.uriModifier and TypeClassDescriptionclassURI-parsing exception resulting in a 404 Not Found response.classException for violation of the OData URI construction rules, resulting in a 400 Bad Request response.Methods in org.apache.olingo.odata2.api.uri that throw ODataExceptionModifier and TypeMethodDescriptionabstract List<KeyPredicate>UriParser.getKeyFromEntityLink(EdmEntitySet entitySet, String entityLink, URI serviceRoot) Retrieves the key predicates from a canonical link to an entity.static List<KeyPredicate>UriParser.getKeyPredicatesFromEntityLink(EdmEntitySet entitySet, String entityLink, URI serviceRoot) Retrieves the key predicates from a canonical link to an entity.static UriInfoParses path segments and query parameters for the given EDM.static UriInfoUriParser.parse(Edm edm, List<PathSegment> pathSegments, Map<String, String> queryParameters, boolean strictFilter) Deprecated. -
Uses of ODataException in org.apache.olingo.odata2.api.uri.expression
Subclasses of ODataException in org.apache.olingo.odata2.api.uri.expressionModifier and TypeClassDescriptionclassException thrown while traversing/visiting a filter expression treeclassException thrown while parsing a filter or orderby expression -
Uses of ODataException in org.apache.olingo.odata2.core
Methods in org.apache.olingo.odata2.core that throw ODataExceptionModifier and TypeMethodDescriptionDispatcher.dispatch(ODataHttpMethod method, UriInfoImpl uriInfo, InputStream content, String requestContentType, String contentType) ContentNegotiator.doContentNegotiation(ODataRequest odataRequest, UriInfoImpl uriInfo, List<String> supportedContentTypes) Do the content negotiation foraccept header valuebased on requested content type (in HTTP accept header fromODataRequest) in combination with uri information fromUriInfoand from given supported content types (viasupportedContentTypes).ODataContextImpl.getPathInfo()ODataContextImpl.getService() -
Uses of ODataException in org.apache.olingo.odata2.core.batch
Methods in org.apache.olingo.odata2.core.batch that throw ODataExceptionModifier and TypeMethodDescriptionBatchHandlerImpl.handleBatchPart(BatchRequestPart batchPart) BatchHandlerImpl.handleRequest(ODataRequest suppliedRequest) -
Uses of ODataException in org.apache.olingo.odata2.core.edm
Methods in org.apache.olingo.odata2.core.edm that throw ODataExceptionModifier and TypeMethodDescriptionEdmImpl.createAliasToNamespaceInfo()protected abstract EdmAssociationEdmImpl.createAssociation(FullQualifiedName fqName) protected abstract EdmComplexTypeEdmImpl.createComplexType(FullQualifiedName fqName) protected abstract EdmEntityContainerEdmImpl.createEntityContainer(String name) protected abstract List<EdmEntitySet>EdmImpl.createEntitySets()protected abstract EdmEntityTypeEdmImpl.createEntityType(FullQualifiedName fqName) protected abstract List<EdmFunctionImport>EdmImpl.createFunctionImports() -
Uses of ODataException in org.apache.olingo.odata2.core.edm.provider
Methods in org.apache.olingo.odata2.core.edm.provider that throw ODataExceptionModifier and TypeMethodDescriptionEdmImplProv.createAliasToNamespaceInfo()protected EdmAssociationEdmImplProv.createAssociation(FullQualifiedName fqName) protected EdmComplexTypeEdmImplProv.createComplexType(FullQualifiedName fqName) protected EdmEntityContainerEdmImplProv.createEntityContainer(String name) protected List<EdmEntitySet>EdmImplProv.createEntitySets()protected EdmEntityTypeEdmImplProv.createEntityType(FullQualifiedName fqName) protected List<EdmFunctionImport>EdmImplProv.createFunctionImports()EdmxProvider.getAssociation(FullQualifiedName edmFQName) EdmxProvider.getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole) EdmxProvider.getComplexType(FullQualifiedName edmFQName) EdmServiceMetadataImplProv.getDataServiceVersion()EdmxProvider.getEntityContainerInfo(String name) EdmxProvider.getEntitySet(String entityContainer, String name) EdmServiceMetadataImplProv.getEntitySetInfos()EdmxProvider.getEntityType(FullQualifiedName edmFQName) EdmxProvider.getFunctionImport(String entityContainer, String name) EdmServiceMetadataImplProv.getMetadata()EdmxProvider.getSchemas() -
Uses of ODataException in org.apache.olingo.odata2.core.ep
Subclasses of ODataException in org.apache.olingo.odata2.core.ep -
Uses of ODataException in org.apache.olingo.odata2.core.processor
Methods in org.apache.olingo.odata2.core.processor that throw ODataExceptionModifier and TypeMethodDescriptionODataSingleProcessorService.getBatchProcessor()ODataSingleProcessorService.getEntityComplexPropertyProcessor()ODataSingleProcessorService.getEntityDataModel()ODataSingleProcessorService.getEntityLinkProcessor()ODataSingleProcessorService.getEntityLinksProcessor()ODataSingleProcessorService.getEntityMediaProcessor()ODataSingleProcessorService.getEntityProcessor()ODataSingleProcessorService.getEntitySetProcessor()ODataSingleProcessorService.getEntitySimplePropertyProcessor()ODataSingleProcessorService.getEntitySimplePropertyValueProcessor()ODataSingleProcessorService.getFunctionImportProcessor()ODataSingleProcessorService.getFunctionImportValueProcessor()ODataSingleProcessorService.getMetadataProcessor()ODataSingleProcessorService.getProcessor()ODataSingleProcessorService.getServiceDocumentProcessor()ODataSingleProcessorService.getSupportedContentTypes(Class<? extends ODataProcessor> processorFeature) ODataSingleProcessorService.getVersion() -
Uses of ODataException in org.apache.olingo.odata2.core.rest
Methods in org.apache.olingo.odata2.core.rest that throw ODataExceptionModifier and TypeMethodDescriptionstatic PathInfoImplRestUtil.buildODataPathInfo(SubLocatorParameter param) static <T> InputStreamRestUtil.contentAsStream(T content) static ODataSubLocatorODataSubLocator.create(SubLocatorParameter param) static jakarta.servlet.ServletInputStreamRestUtil.extractRequestContent(SubLocatorParameter param) Extracts the request content from the servlet as input stream.javax.ws.rs.core.ResponseODataSubLocator.handleDelete()javax.ws.rs.core.ResponseODataSubLocator.handleGet()javax.ws.rs.core.ResponseODataSubLocator.handleHead()javax.ws.rs.core.ResponseODataSubLocator.handleMerge()javax.ws.rs.core.ResponseODataSubLocator.handleOptions()javax.ws.rs.core.ResponseODataSubLocator.handlePatch()javax.ws.rs.core.ResponseODataSubLocator.handlePost(String xHttpMethod) javax.ws.rs.core.ResponseODataSubLocator.handlePut()ODataRootLocator.handleRequest(List<javax.ws.rs.core.PathSegment> pathSegments, String xHttpMethod, String xHttpMethodOverride) Default root behavior which will delegate all paths to a ODataLocator. -
Uses of ODataException in org.apache.olingo.odata2.core.servlet
Methods in org.apache.olingo.odata2.core.servlet that throw ODataExceptionModifier and TypeMethodDescriptionstatic PathInfoRestUtil.buildODataPathInfo(jakarta.servlet.http.HttpServletRequest req, int pathSplit) -
Uses of ODataException in org.apache.olingo.odata2.core.uri
Methods in org.apache.olingo.odata2.core.uri that throw ODataExceptionModifier and TypeMethodDescriptionUriParserImpl.getKeyFromEntityLink(EdmEntitySet entitySet, String entityLink, URI serviceRoot) -
Uses of ODataException in org.apache.olingo.odata2.core.uri.expression
Subclasses of ODataException in org.apache.olingo.odata2.core.uri.expressionModifier and TypeClassDescriptionclassInternal error in the expression parser.classThis class is used to create exceptions of type FilterParserException.classThis exception is thrown if there is an error during tokenizing.
This exception in not in the public API, but may be added as cause for theExpressionParserExceptionexception.classThis exception is thrown if a token should be read from the top of theTokenListwhich does not match an expected token.