Class QPdfJobException
Thrown when a qpdfjob_run_from_json invocation returns a non-zero exit code. Carries the raw qpdf exit code so callers can branch on it without string parsing.
Inheritance
System.Object
QPdfJobException
Namespace: IronSoftware.Pdfium.QPdf
Assembly: IronPdf.dll
Syntax
public class QPdfJobException : Exception
Constructors
QPdfJobException(Int32, String)
Declaration
public QPdfJobException(int exitCode, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | exitCode | |
| System.String | message |
QPdfJobException(Int32, String, Exception)
Declaration
public QPdfJobException(int exitCode, string message, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | exitCode | |
| System.String | message | |
| System.Exception | inner |
Properties
ExitCode
The raw qpdf exit code: 0 = ok, 2 = errors, 3 = warnings.
Declaration
public int ExitCode { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |