The com.aspose.pdf.exceptions package provides classes for exceptions which can occur while working with a document.

## Classes

| Class | Description |
| --- | --- |
| [ArgumentException](./argumentexception/) | The exception that is thrown when one of the arguments provided to a method is not valid. |
| [BoundsOutOfRangeException](./boundsoutofrangeexception/) | Represents an exception which occurs when an item doesn't fit within the given container dimensions. |
| [ConvertException](./convertexception/) | Represents errors that occur during PDF_A conversion with helpers objects. |
| [CorruptContentException](./corruptcontentexception/) | Represents CorruptContentException class |
| [CrashReportOptions](./crashreportoptions/) | Options for crash report generating. |
| [CrossTableNotFoundException](./crosstablenotfoundexception/) | Represents CrossTableNotFoundException class |
| [DeprecatedFeatureException](./deprecatedfeatureexception/) | The exception that is thrown when a feature is deprecated in current pdf version. |
| [DrawStringException](./drawstringexception/) |  |
| [EmptyValueException](./emptyvalueexception/) | Exception which thrown when requirested value does not exists. |
| [FontEmbeddingException](./fontembeddingexception/) | The exception that is thrown when an attempt to embed font became failed |
| [FontNotFoundException](./fontnotfoundexception/) | The exception that is thrown when a font is not found. |
| [IncorrectCMapUsageException](./incorrectcmapusageexception/) | The exception that is thrown when font usage is incorrect. |
| [IncorrectFontUsageException](./incorrectfontusageexception/) | The exception that is thrown when font usage is incorrect. |
| [IndexOutOfRangeException](./indexoutofrangeexception/) | Represents Index Out Of Range errors that occur during PDF application execution. |
| [InternalHelper](./internalhelper/) |  |
| [InvalidCgmFileFormatException](./invalidcgmfileformatexception/) | The exception that is thrown when a Cgm file is invalid. |
| [InvalidFileFormatException](./invalidfileformatexception/) | The exception that is thrown when a file is invalid. |
| [InvalidFormTypeOperationException](./invalidformtypeoperationexception/) | The exception that is thrown when an operation with form type is not valid. |
| [InvalidPasswordException](./invalidpasswordexception/) | The exception that is thrown when invalid password is provided by user. |
| [InvalidPdfFileFormatException](./invalidpdffileformatexception/) | The exception that is thrown when a pdf file is invalid. |
| [InvalidValueFormatException](./invalidvalueformatexception/) | Exception which thrown when requested value has incorrect format. |
| [JavascriptExtensionsException](./javascriptextensionsexception/) | The exception that is thrown on errors when working with JavascriptExtensions. |
| [NotImplementedException](./notimplementedexception/) | The exception that is thrown when a requested method or operation is not implemented. |
| [NotSupportedException](./notsupportedexception/) | The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. |
| [ObjectReferenceCorruptedException](./objectreferencecorruptedexception/) | Represents an exception that is thrown when an object reference in a PDF document is found to be corrupted. That means there is no object pointed to by the link. |
| [OperationCanceledException](./operationcanceledexception/) | Represents OperationCanceledException class |
| [PdfArgumentException](./pdfargumentexception/) | Represents errors that occur when incorrect parameters appeared. |
| [PdfException](./pdfexception/) | Represents errors that occur during PDF application execution. |
| [PdfOutOfMemoryException](./pdfoutofmemoryexception/) | Represents OutOfMemory errors that occur during PDF application execution. |
| [SanitizationException](./sanitizationexception/) | The exception that is thrown when an sanitization operation failed. |
| [SignatureLengthMismatchException](./signaturelengthmismatchexception/) | Represents errors that occur during PDF signing. Occurs if {@code SignHash} is used to sign a document and the actual length of the signature is greater than that specified in the {@code Signature.DefaultSignatureLength}({@code Signature#getDefaultSignatureLength}/{@code Signature#setDefaultSignatureLength(int)}) option. |
| [TaggedException](./taggedexception/) | Represents exception for TaggedPDF content of document. |
| [TaggedPdfExceptionCode](./taggedpdfexceptioncode/) |  |
| [UnsupportedFontTypeException](./unsupportedfonttypeexception/) | The exception that is thrown when a font type is not supported. |
