Package org.xhtmlrenderer.test
Record Class ReferenceComparison.CompareStatistics.RenderFailed
java.lang.Object
java.lang.Record
org.xhtmlrenderer.test.ReferenceComparison.CompareStatistics.RenderFailed
- All Implemented Interfaces:
ReferenceComparison.CompareStatistics.Result
- Enclosing class:
ReferenceComparison.CompareStatistics
private static record ReferenceComparison.CompareStatistics.RenderFailed(Exception exception)
extends Record
implements ReferenceComparison.CompareStatistics.Result
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
RenderFailed
(Exception exception) Creates an instance of aRenderFailed
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexception
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
exception
The field for theexception
record component.
-
-
Constructor Details
-
RenderFailed
Creates an instance of aRenderFailed
record class.- Parameters:
exception
- the value for theexception
record component
-
-
Method Details
-
describe
- Specified by:
describe
in interfaceReferenceComparison.CompareStatistics.Result
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
exception
Returns the value of theexception
record component.- Returns:
- the value of the
exception
record component
-