C2paException class
Base exception for failures reported by the C2PA SDK.
Thrown when an operation cannot be completed because parsing, validation, signing, resources, network access, or archive handling failed.
Constructors
- C2paException(String message, {Object? cause, StackTrace? stackTrace})
-
Creates an SDK exception with a human-readable
message.const
Properties
- cause → Object?
-
Lower-level error that caused this exception, or
nullif none exists.final - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable description of the failure condition.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
Stack trace associated with cause, or
nullwhen unavailable.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited