PathEngineException class

An exception that occurs during FHIRPath evaluation.

This is the root of the engine's exception hierarchy. In the Java reference implementation it extends the shared org.hl7.fhir.exceptions.FHIRException; the engine owns its root here so it carries no dependency on the FHIR model package.

Implemented types
Implementers

Constructors

PathEngineException(String message, {SourceLocation? location, String? expression, String? id, Exception? cause, StackTrace? stackTrace})
Constructs a new PathEngineException.

Properties

cause → Object?
The cause of the exception.
final
expression → String?
The FHIRPath expression being evaluated when the exception occurred.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
Optional identifier for the exception.
final
location → SourceLocation?
The location in the FHIRPath where the exception occurred.
final
message → String?
The exception message.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace?
The stack trace at the time of the exception.
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

Static Methods

rep(SourceLocation? loc, String? expr) → String
Returns a string representation of the location and expression.