RdfEncoderException class
Base exception class for all RDF encoding-related errors
This class serves as the parent for all encoder-specific exceptions, adding information about which RDF format was the target of encoding when the error occurred.
Encoder implementations should throw subclasses of this exception for specific error conditions, or this exception directly for general encoding errors.
- Inheritance
-
- Object
- RdfException
- RdfEncoderException
- Implementers
Constructors
- RdfEncoderException(String message, {required String format, Object? cause, SourceLocation? source})
-
Creates a new RDF encoder exception
const
Properties
- cause → Object?
-
The original error that caused this exception, if any
finalinherited
- format → String
-
Format being encoded to when the exception occurred
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable error message describing the issue
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → SourceLocation?
-
Optional source information where the error occurred
finalinherited
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