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/XPathProcessor.h
17 17
#include <string>
18 18

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

  
......
210 211
    //! Clear any exception thrown
211 212
    void exceptionClear();
212 213

  
213
     //!Get number of errors reported during evaluation of the XPath
214
    /**
215
     * After the evalution of the XPAth expression there may be a number of errors reported against it.
216
     * @return int - Count of the exceptions recorded against the transformation
217
    */
218
    int exceptionCount();
219

  
220 214
     //! Get the ith error message if there are any error
221 215
    /**
222 216
     * A transformation may have a number of errors reported against it.
223
     * @return char* - The message of the i'th exception 
217
     * @return char* - The message of the exception
224 218
    */
225
    const char * getErrorMessage(int i);
219
    const char * getErrorMessage();
226 220

  
227 221

  
228 222
     //! Get the ith error code if there are any error
229 223
    /**
230 224
     * After the execution of the XPath expression there may be  a number of errors reported against it.
231
     * @return char* - The error code of the i'th exception. 
225
     * @return char* - The error code of the exception.
232 226
    */
233
    const char * getErrorCode(int i);
227
    const char * getErrorCode();
234 228

  
235 229
     //! Check for exception thrown.
236 230
	/**
......
247 241
	jobject cppXP;
248 242
	std::map<std::string,XdmValue*> parameters; /*!< map of parameters used for the transformation as (string, value) pairs */
249 243
	std::map<std::string,std::string> properties; /*!< map of properties used for the transformation as (string, string) pairs */
250

  
244
    SaxonApiException * exception;
251 245
};
252 246

  
253 247

  

Also available in: Unified diff