Skip to content

# PDFAException

Namespace: O2S.Components.PDF4NET.Standards

Defines an exception that can be thrown while a document is formatted using PDF/A standard.

    public class PDFAException : O2S.Components.PDF4NET.Core.Exceptions.PDFException

Inheritance Object → Exception → PDFException → PDFAException
Implements

## Constructors

### PDFAException(PDFAError, String)

Initializes a new PDFAException message.

    public PDFAException(PDFAError errorCode, string message)

Parameters

`errorCode` PDFAError
Error code.

`message` String
The exception message.

## Properties

### Data

    public IDictionary Data { get; }

Property Value

IDictionary

### ErrorCode

Gets the error code.

    public PDFAError ErrorCode { get; }

Property Value

PDFAError
A PDFAError code specifying the error encountered during PDF/A formatting.

### HelpLink

    public string HelpLink { get; set; }

Property Value

String

### HResult

    public int HResult { get; set; }

Property Value

Int32

### InnerException

    public Exception InnerException { get; }

Property Value

Exception

### Message

    public string Message { get; }

Property Value

String

### Source

    public string Source { get; set; }

Property Value

String

### StackTrace

    public string StackTrace { get; }

Property Value

String

### TargetSite

    public MethodBase TargetSite { get; }

Property Value

MethodBase