Record Class DataError.UnknownEnum
java.lang.Object
java.lang.Record
com.github.darksoulq.abyssallib.common.serialization.DataError.UnknownEnum
- Record Components:
value- The string encountered.enumClass- The simple name of the enum constraint.
- All Implemented Interfaces:
DataError
- Enclosing interface:
DataError
-
Nested Class Summary
Nested classes/interfaces inherited from interface DataError
DataError.Custom, DataError.DuplicateKey, DataError.IndexOutOfBounds, DataError.InvalidFormat, DataError.MissingField, DataError.NullValue, DataError.OutOfBounds, DataError.PathAware, DataError.TypeMismatch, DataError.UnknownEnum, DataError.UnsupportedOperation -
Constructor Summary
ConstructorsConstructorDescriptionUnknownEnum(String value, String enumClass) Creates an instance of aUnknownEnumrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theenumClassrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
UnknownEnum
-
-
Method Details
-
message
-
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). -
value
-
enumClass
-