EPC Implementer > EPCIS > Query   
 
EPCglobal-epcis-query-1_0
Previous element    
Next element
 
ComplexType epcisq:EPCISException
 
Diagram
 
 
  
Definition: Methods of the EPCIS Query Control API signal error conditions to the client by means of exceptions. The following exceptions are defined:
- SecurityException
- DuplicateNameException
- QueryValidationException
- QueryParameterException
- QueryTooLargeException
- QueryTooComplexException
- InvalidURIException
- SubscriptionControlsException
- NoSuchNameException
- NoSuchSubscriptionException
- DuplicateSubscriptionException
- SubscribeNotPermittedException
- ValidationException
- ImplementationException

All of the above exception types are extensions of a common EPCISException base type, which contains one required string element giving the reason for the exception.
Description:  The exceptions that may be thrown by each method of the EPCIS Query Control Interface are indicated as follows:

getQueryNames:
- SecurityException
- ValidationException
- ImplementationException

subscribe:
- NoSuchNameException
- InvalidURIException
- DuplicateSubscriptionException
- QueryParameterException
- QueryTooComplexException
- SubscriptionControlsException
- SubscribeNotPermittedException
- SecurityException
- ValidationException
- ImplementationException

unsubscribe:
- NoSuchSubscriptionException
- SecurityException
- ValidationException
- ImplementationException

poll:
- NoSuchNameException
- QueryParameterException
- QueryTooComplexException
- QueryTooLargeException
- SecurityException
- ValidationException
- ImplementationException

getSubscriptionIDs:
- NoSuchNameException
- SecurityException
- ValidationException
- ImplementationException

getStandardVersion:
- SecurityException
- ValidationException
- ImplementationException

getVendorVersion:
- SecurityException
- ValidationException
- ImplementationException

In addition to exceptions thrown from methods of theEPCIS Query Control Interface as enumerated above, an attempt to execute a standing query may result in a QueryTooLargeException or an ImplementationException being sent to a subscriber via the EPCIS Query Callback Interface instead of a normal query result. In this case, the QueryTooLargeException or ImplementationException shall include, in addition to the reason string, the query name and the subscriptionID as specified in the subscribe call that created the standing query.
   
Associations Type:  Occurrence: 
 
xsd:sequence 1 .. 1
reason xsd:string 1 .. 1
 
  Date Of Publication: 01.04.2008  
  Copyright © GS1 Germany 2008. All rights reserved Optimised for 1024 x 768 pixel