RdfCyclicGraphException class
Exception thrown when the graph contains cycles that prevent encoding
Some RDF formats have limitations with cyclic structures, particularly when using abbreviated syntax. This exception indicates that the graph contains cyclical relationships that prevent effective encoding in the target format.
- Inheritance
-
- Object
- RdfException
- RdfEncoderException
- RdfCyclicGraphException
Constructors
- RdfCyclicGraphException(String message, {required String format, Object? cause, SourceLocation? source})
-
Creates a new cyclic graph 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
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