MissingOptionalDependencyException

MissingOptionalDependencyException

Overview

MissingOptionalDependencyException is a class in Aspose.PDF FOSS for .NET. Inherits from: PdfException.

Thrown when a feature needs an optional dependency the consuming application has not referenced - a NuGet package the library deliberately does not force on every consumer, such as System.Drawing.Common for printing.

This class declares 8 methods for MissingOptionalDependencyException objects in .NET programs. Available methods include: GenerateCrashReport, MissingOptionalDependencyException, PdfException. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

Methods

SignatureDescription
MissingOptionalDependencyException()An optional dependency is missing, with the generic message.
MissingOptionalDependencyException(message: string)An optional dependency is missing, with an actionable message.
MissingOptionalDependencyException(message: string, innerException: Exception)An optional dependency is missing, keeping the load failure that revealed it.
PdfException()Initializes a new instance of the PdfException class.
PdfException(message: string)Initializes a new instance of the PdfException class with a message.
PdfException(message: string, innerException: Exception)Initializes a new instance of the PdfException class with a message and inner exception.
PdfException(innerException: Exception)Initializes a new instance of the PdfException class wrapping the inner exception.
GenerateCrashReport(options: CrashReportOptions)Write a crash report to disk per options.

See Also