RdfInvalidIriException class
Exception thrown when the decoder encounters an invalid IRI
This exception indicates that the input document contains an IRI that doesn't conform to the IRI syntax rules specified in RFC 3987.
IRIs are fundamental to RDF as they identify resources, so invalid IRIs are treated as a specific error case rather than a general syntax error.
- Inheritance
-
- Object
- RdfException
- RdfDecoderException
- RdfInvalidIriException
Constructors
- RdfInvalidIriException(String message, {required String iri, required String format, Object? cause, SourceLocation? source})
-
Creates a new invalid IRI exception
const
Properties
- cause → Object?
-
The original error that caused this exception, if any
finalinherited
- format → String
-
Format being decoded when the exception occurred
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- iri → String
-
The invalid IRI
final
- 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