Project

Profile

Help

Revision 5401a5ae

Added by O'Neil Delpratt almost 2 years ago

Saxon/C Development

View differences:

latest9.9/hec/Saxon.C.API/XQueryProcessor.h
17 17

  
18 18

  
19 19
class SaxonProcessor;
20
class SaxonApiException;
20 21
class XdmValue;
21 22
class XdmItem;
22 23

  
......
243 244
    //! Clear any exception thrown
244 245
    void exceptionClear();
245 246

  
246
     //!Get number of errors reported during execution of the query
247
    /**
248
     * A transformation may have a number of errors reported against it.
249
     * @return int - Count of the exceptions recorded against the transformation
250
    */
251
    int exceptionCount();
252

  
253 247

  
254 248
     //! Get the ith error message if there are any error
255 249
    /**
256 250
     * A transformation may have a number of errors reported against it.
257
     * @return char* - The message of the i'th exception 
251
     * @return char* - The message of the exception
258 252
    */
259
    const char * getErrorMessage(int i);
253
    const char * getErrorMessage();
260 254

  
261 255

  
262 256
     //! Get the i'th error code if there are any error
263 257
    /**
264 258
     * After the execution of the query there may be a number of errors reported against it.
265
     * @return char* - The error code of the i'th exception.
259
     * @return char* - The error code of the exception.
266 260
    */
267
    const char * getErrorCode(int i);
261
    const char * getErrorCode();
268 262
    
269 263

  
270 264
private:
......
274 268
	jobject cppXQ;
275 269
	std::map<std::string,XdmValue*> parameters; /*!< map of parameters used for the transformation as (string, value) pairs */
276 270
	std::map<std::string,std::string> properties; /*!< map of properties used for the transformation as (string, string) pairs */
271
	SaxonApiException * exception;
277 272
};
278 273

  
279 274
#endif /* SAXON_XQUERY_H */

Also available in: Unified diff