Record Class IrisError.CheckError
Javadoc 27 generates this reference during each site build from the exported packages and the annotation processor. The Java guide shows the API in use.
java.lang.Object
java.lang.Record
dev.gecode.iris.IrisError.CheckError
- Record Components:
code- the stable code of the errormessage- the main diagnostic textinputLocation- the location in the inputspecLocation- the location in the reader speccontext- the execution context, outermost first, or null if the error has nonerecordPath- the indices of the witness
- All Implemented Interfaces:
IrisError, Serializable
- Enclosing interface:
IrisError
-
Nested Class Summary
Nested classes/interfaces inherited from interface IrisError
IrisError.CheckError, IrisError.ReadError, IrisError.SpecErrorModifier and TypeInterfaceDescriptionstatic final recordA check that failed.static final recordAn error found while reading an input.static final recordAn error found while parsing a reader spec. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the value of thecoderecord component.@Nullable Stringcontext()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinputLocationrecord component.message()Returns the value of themessagerecord component.Returns the value of therecordPathrecord component.Returns the value of thespecLocationrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CheckError
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
code
-
message
-
inputLocation
Returns the value of theinputLocationrecord component.- Specified by:
inputLocationin interfaceIrisError- Returns:
- the value of the
inputLocationrecord component
-
specLocation
Returns the value of thespecLocationrecord component.- Specified by:
specLocationin interfaceIrisError- Returns:
- the value of the
specLocationrecord component
-
context
-
recordPath
Returns the value of therecordPathrecord component.- Specified by:
recordPathin interfaceIrisError- Returns:
- the value of the
recordPathrecord component
-