PdfEditApplyException


@ExperimentalPdfApi
class PdfEditApplyException : Exception


Represents an exception that occurred while applying edits on a PDF document.

Summary

Public constructors

PdfEditApplyException(
    failureIndex: Int,
    appliedEditIds: List<String>,
    cause: Throwable
)

Public properties

List<String>

The list of unique identifiers for the edits (e.g., annotation IDs) that were successfully applied before the failure occurred.

Int

The index of the operation that caused the failure, relative to the order in which operations were enqueued in the EditsDraft.

Public constructors

PdfEditApplyException

Added in 1.0.0-beta01
PdfEditApplyException(
    failureIndex: Int,
    appliedEditIds: List<String>,
    cause: Throwable
)
Parameters
failureIndex: Int

The index of the operation that caused the failure, relative to the order in which operations were enqueued in the EditsDraft.

appliedEditIds: List<String>

The list of unique identifiers for the edits (e.g., annotation IDs) that were successfully applied before the failure occurred.

cause: Throwable

The underlying cause of the failure.

Public properties

appliedEditIds

Added in 1.0.0-beta01
val appliedEditIdsList<String>

The list of unique identifiers for the edits (e.g., annotation IDs) that were successfully applied before the failure occurred.

failureIndex

Added in 1.0.0-beta01
val failureIndexInt

The index of the operation that caused the failure, relative to the order in which operations were enqueued in the EditsDraft.