Uses of Class
org.apache.olingo.odata2.api.exception.ODataException
-
Packages that use ODataException Package Description org.apache.olingo.odata2.api OData Library APIorg.apache.olingo.odata2.api.batch org.apache.olingo.odata2.api.edm Entity Data Model APIorg.apache.olingo.odata2.api.edm.provider Entity Data Model Provider APIorg.apache.olingo.odata2.api.ep Entity Providerorg.apache.olingo.odata2.api.exception Exception Classes used in the OData library as well as the implementing applicationorg.apache.olingo.odata2.api.processor Data Processororg.apache.olingo.odata2.api.processor.feature Processor Featuresorg.apache.olingo.odata2.api.processor.part Processor Partsorg.apache.olingo.odata2.api.uri URI Parser Facadeorg.apache.olingo.odata2.api.uri.expression Expression Parser -
-
Uses of ODataException in org.apache.olingo.odata2.api
-
Uses of ODataException in org.apache.olingo.odata2.api.batch
Subclasses of ODataException in org.apache.olingo.odata2.api.batch Modifier and Type Class Description classBatchExceptionMethods in org.apache.olingo.odata2.api.batch that throw ODataException Modifier and Type Method Description BatchResponsePartBatchHandler. handleBatchPart(BatchRequestPart batchRequestPart)Handles theBatchRequestPartin a way that it results in a correspondingBatchResponsePart.ODataResponseBatchHandler. 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.edm Modifier and Type Class Description classEdmException@org.apache.olingo.odata2.DoNotImplement An exception for problems regarding the Entity Data Model.classEdmLiteralException@org.apache.olingo.odata2.DoNotImplement Exception for violation of the OData URI construction rules, resulting in a 400 Bad Request responseclassEdmSimpleTypeException@org.apache.olingo.odata2.DoNotImplement Exception for parsing errors withEdmSimpleTypesMethods in org.apache.olingo.odata2.api.edm that throw ODataException Modifier and Type Method Description StringEdmServiceMetadata. getDataServiceVersion()List<EdmEntitySetInfo>EdmServiceMetadata. getEntitySetInfos()InputStreamEdmServiceMetadata. getMetadata() -
Uses of ODataException in org.apache.olingo.odata2.api.edm.provider
Methods in org.apache.olingo.odata2.api.edm.provider that throw ODataException Modifier and Type Method Description List<AliasInfo>EdmProvider. getAliasInfos()This method should return a list of all defined aliases and their associated namespace.AssociationEdmProvider. getAssociation(FullQualifiedName edmFQName)This method should return anAssociationor null if nothing is foundAssociationSetEdmProvider. getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole)This method should return anAssociationSetor null if nothing is foundComplexTypeEdmProvider. getComplexType(FullQualifiedName edmFQName)This method should return aComplexTypeor null if nothing is foundEntityContainerInfoEdmProvider. getEntityContainerInfo(String name)This method should return anEntityContainerInfoor null if nothing is foundEntitySetEdmProvider. getEntitySet(String entityContainer, String name)This method should return anEntitySetor null if nothing is foundEntityTypeEdmProvider. getEntityType(FullQualifiedName edmFQName)This method should return anEntityTypeor null if nothing is foundFunctionImportEdmProvider. getFunctionImport(String entityContainer, String name)This method should return aFunctionImportor null if nothing is foundList<Schema>EdmProvider. 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.ep Modifier and Type Class Description classEntityProviderExceptionAnEntityProviderExceptionis 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.exception Modifier and Type Class Description classODataApplicationExceptionThis class represents a translated application exception.classODataBadRequestExceptionExceptions of this class will result in a HTTP status 400 bad requestclassODataConflictExceptionExceptions of this class will result in a HTTP status 409 ConflictclassODataForbiddenExceptionExceptions of this class will result in a HTTP status 403 forbiddenclassODataHttpExceptionODataMessageExceptionwith a HTTP status code.classODataInternalServerErrorExceptionclassODataMessageExceptionDO NOT EXTEND THIS EXCEPTIONclassODataMethodNotAllowedExceptionExceptions of this class will result in a HTTP status 405 (method not allowed).classODataNotAcceptableExceptionExceptions of this class will result in a HTTP status 406 not acceptableclassODataNotFoundExceptionExceptions of this class will result in a HTTP status 404 not foundclassODataNotImplementedExceptionExceptions of this class will result in a HTTP status 501 (Not implemented).classODataPreconditionFailedExceptionExceptions of this class will result in a HTTP Status 412 Precondition Failed.classODataPreconditionRequiredExceptionExceptions of this class will result in a HTTP status 428 precondition requiredclassODataServiceUnavailableExceptionExceptions of this class will result in a HTTP status 503 service unavailableclassODataUnsupportedMediaTypeExceptionExceptions 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 ODataException Modifier and Type Method Description static MessageReferenceMessageReference. create(Class<? extends ODataException> clazz, String key) -
Uses of ODataException in org.apache.olingo.odata2.api.processor
-
Uses of ODataException in org.apache.olingo.odata2.api.processor.feature
Methods in org.apache.olingo.odata2.api.processor.feature that throw ODataException Modifier and Type Method Description List<String>CustomContentType. 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 ODataException Modifier and Type Method Description ODataResponseEntityLinksProcessor. countEntityLinks(GetEntitySetLinksCountUriInfo uriInfo, String contentType)Counts the number of target entities of a navigation property.ODataResponseEntitySetProcessor. countEntitySet(GetEntitySetCountUriInfo uriInfo, String contentType)Counts the number of requested entities.ODataResponseEntitySetProcessor. createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Creates an entity.ODataResponseEntityLinksProcessor. createEntityLink(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Creates a new link to a target entity of a navigation property.ODataResponseEntityProcessor. deleteEntity(DeleteUriInfo uriInfo, String contentType)Deletes an entity.ODataResponseEntityLinkProcessor. deleteEntityLink(DeleteUriInfo uriInfo, String contentType)Deletes the link to the target entity of a navigation property.ODataResponseEntityMediaProcessor. deleteEntityMedia(DeleteUriInfo uriInfo, String contentType)Deletes the media resource of an entity.ODataResponseEntitySimplePropertyValueProcessor. deleteEntitySimplePropertyValue(DeleteUriInfo uriInfo, String contentType)Deletes the value of a simple property of an entity.ODataResponseBatchProcessor. executeBatch(BatchHandler handler, String contentType, InputStream content)Executes a OData batch request and provide Batch Response asODataResponseBatchResponsePartBatchProcessor. executeChangeSet(BatchHandler handler, List<ODataRequest> requests)Executes a Change Set and provide BatchResponsePart asBatchResponsePartthat contains the responses to change requests.ODataResponseFunctionImportProcessor. executeFunctionImport(GetFunctionImportUriInfo uriInfo, String contentType)Executes a function import and returns the result.ODataResponseFunctionImportValueProcessor. executeFunctionImportValue(GetFunctionImportUriInfo uriInfo, String contentType)Returns the unformatted value of a function import.ODataResponseEntityProcessor. existsEntity(GetEntityCountUriInfo uriInfo, String contentType)Checks whether an entity exists.ODataResponseEntityLinkProcessor. existsEntityLink(GetEntityLinkCountUriInfo uriInfo, String contentType)Returns whether the target entity of a navigation property exists.ODataResponseEntityProcessor. readEntity(GetEntityUriInfo uriInfo, String contentType)Reads an entity.ODataResponseEntityComplexPropertyProcessor. readEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType)Reads a complex property of an entity.ODataResponseEntityLinkProcessor. readEntityLink(GetEntityLinkUriInfo uriInfo, String contentType)Reads the URI of the target entity of a navigation property.ODataResponseEntityLinksProcessor. readEntityLinks(GetEntitySetLinksUriInfo uriInfo, String contentType)Reads the URIs of the target entities of a navigation property.ODataResponseEntityMediaProcessor. readEntityMedia(GetMediaResourceUriInfo uriInfo, String contentType)Reads the media resource of an entity.ODataResponseEntitySetProcessor. readEntitySet(GetEntitySetUriInfo uriInfo, String contentType)Reads entities.ODataResponseEntitySimplePropertyProcessor. readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType)Reads a simple property of an entity.ODataResponseEntitySimplePropertyValueProcessor. readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType)Reads the unformatted value of a simple property of an entity.ODataResponseMetadataProcessor. readMetadata(GetMetadataUriInfo uriInfo, String contentType)ODataResponseServiceDocumentProcessor. readServiceDocument(GetServiceDocumentUriInfo uriInfo, String contentType)ODataResponseEntityProcessor. updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType)Updates an entity.ODataResponseEntityComplexPropertyProcessor. updateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType)Updates a complex property of an entity.ODataResponseEntityLinkProcessor. updateEntityLink(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Updates the link to the target entity of a navigation property.ODataResponseEntityMediaProcessor. updateEntityMedia(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Updates the media resource of an entity.ODataResponseEntitySimplePropertyProcessor. updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Updates a simple property of an entity.ODataResponseEntitySimplePropertyValueProcessor. 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.uri Modifier and Type Class Description classUriNotMatchingExceptionURI-parsing exception resulting in a 404 Not Found response.classUriSyntaxExceptionException 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 ODataException Modifier and Type Method Description abstract 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 UriInfoUriParser. parse(Edm edm, List<PathSegment> pathSegments, Map<String,String> queryParameters)Parses path segments and query parameters for the given EDM. -
Uses of ODataException in org.apache.olingo.odata2.api.uri.expression
Subclasses of ODataException in org.apache.olingo.odata2.api.uri.expression Modifier and Type Class Description classExceptionVisitExpressionException thrown while traversing/visiting a filter expression treeclassExpressionParserExceptionException thrown while parsing a filter or orderby expression
-