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/Xslt30Processor.h
1 1
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2
// Copyright (c) 2015 Saxonica Limited.
2
// Copyright (c) 2020 Saxonica Limited.
3 3
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
4 4
// If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 5
// This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0.
......
14 14
#include <string>
15 15

  
16 16
class SaxonProcessor;
17
class SaxonApiException;
18
class XsltExecutable;
17 19
class XdmValue;
18 20
class XdmItem;
19 21
class XdmNode;
......
287 289
     //! Clear any exception thrown
288 290
    void exceptionClear();
289 291

  
290
     //!Get number of errors reported during execution or evaluate of stylesheet
291
    /**
292
     * A transformation may have a number of errors reported against it.
293
     * @return int - Count of the exceptions recorded against the transformation
294
    */
295
    int exceptionCount();
296 292

  
297 293
     //! Get the ith error message if there are any error
298 294
    /**
299 295
     * A transformation may have a number of errors reported against it.
300
     * @return char* - The message of the i'th exception 
296
     * @return char* - The message of the exception
301 297
    */
302
    const char * getErrorMessage(int i);
298
    const char * getErrorMessage();
303 299

  
304 300
     //! Get the ith error code if there are any error
305 301
    /**
306 302
     * A transformation may have a number of errors reported against it.
307
     * @return char* - The error code of the i'th exception. The error code are related to the specific specification 
303
     * @return char* - The error code of the exception. The error code are related to the specific specification
308 304
    */
309
    const char * getErrorCode(int i);
305
    const char * getErrorCode();
310 306

  
311 307

  
312 308

  
......
317 313
    std::string cwdXT; /*!< current working directory */
318 314
	bool tunnel, jitCompilation;
319 315
	std::map<std::string,XdmValue*> parameters; /*!< map of parameters used for the transformation as (string, value) pairs */
320

  
316
    SaxonApiException * exception;
321 317
};
322 318

  
323 319

  

Also available in: Unified diff