Ifd:getErrorMessage

From dev.ifd-library.org

Jump to: navigation, search

API version 2

String getErrorMessage(int error_code) throws IfdServerException

Method to retrieve an error message corresponding to an error code. Error codes may be returned as an exception if something goes wrong during a method call.

Input:

  • integer error_code - The error code for which the message is wanted.

Return:

  • String - Message corresponding to the error code

API version 3

public function String getErrorMessage(
                                 session_id,
                                 int error_code) 
              throws IfdServerException

EXPRESS Heading

QUERY FUNCTION getErrorMessage(
                     error_code: INTEGER): IfdStringInformation;

The function returns string of IFD API error message by error number.

Input:

  • integer error_code - error number (code) from range 50000-50213 that was got in exception running any IFD API call

Return:

  • Structure with only attribute data – error text

Difference with v.2.00

  • (92) There are different error codes in v.2.00 and the current version


Back to the API

Comments: Talk:Ifd:getErrorMessage