RdfUnsupportedFeatureException class

Exception thrown when the decoder encounters an unsupported feature

This exception indicates that the input document uses a feature of the RDF serialization format that is valid according to the specification but not implemented by this decoder.

This differs from a syntax exception in that the document is valid according to the format specification, but contains features beyond what the current implementation supports.

Examples include:

  • Advanced language features in Turtle like collections
  • Complex JSON-LD constructs like context processing
  • Format extensions or newer specification features
Inheritance

Constructors

RdfUnsupportedFeatureException(String message, {required String feature, required String format, Object? cause, SourceLocation? source})
Creates a new unsupported feature exception
const

Properties

cause Object?
The original error that caused this exception, if any
finalinherited
feature String
Feature that is not supported
final
format String
Format being decoded when the exception occurred
finalinherited
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