WebConvertError Class Documentation

class WebConvertError : Error

Namespace:datalogics_interface

Inherits from:
Error

Detailed Description

Thrown by web-to-PDF conversion when the underlying plugin reports a non-cancellation failure. Carries the C-layer result code and textual detail in addition to the human-readable what() string.

Constructor & Destructor Documentation

WebConvertError

WebConvertError(Category category, int plugin_result_code, const std::string & detail)

Parameters

category: Category
plugin_result_code: int
detail: const std::string &

Member Function Documentation

category

Category category()

Returns:

Category

detail

const std::string & detail()

Returns:

const std::string &

from WebToPDFGetLastError

get_error_code

DL_ERROR_MEMBER int get_error_code()

Returns:

DL_ERROR_MEMBER int

The Adobe PDF Library error code, or 0 when the failure carries none.

Decode the value with the APDFL ErrGetSeverity, ErrGetSystem and ErrGetCode macros, or compare it against a whole code.

plugin_result_code

int plugin_result_code()

Returns:

int

WebToPDFResultCode value.