Package dev.siroshun.configapi.codec
Record Class NodeCodec.UnknownTypeDecodeError
java.lang.Object
java.lang.Record
dev.siroshun.configapi.codec.NodeCodec.UnknownTypeDecodeError
- All Implemented Interfaces:
dev.siroshun.codec4j.api.error.DecodeError
,dev.siroshun.codec4j.api.error.DecodeError.Failure
- Enclosing class:
NodeCodec
public static record NodeCodec.UnknownTypeDecodeError()
extends Record
implements dev.siroshun.codec4j.api.error.DecodeError.Failure
A
DecodeError
when the Type
is Type.Unknown
.-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.siroshun.codec4j.api.error.DecodeError
dev.siroshun.codec4j.api.error.DecodeError.Failure, dev.siroshun.codec4j.api.error.DecodeError.FatalError, dev.siroshun.codec4j.api.error.DecodeError.IgnorableError, dev.siroshun.codec4j.api.error.DecodeError.InvalidChar, dev.siroshun.codec4j.api.error.DecodeError.InvalidNumber, dev.siroshun.codec4j.api.error.DecodeError.InvalidNumberFormat, dev.siroshun.codec4j.api.error.DecodeError.IterationError, dev.siroshun.codec4j.api.error.DecodeError.TypeMismatch
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aUnknownTypeDecodeError
record class. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.siroshun.codec4j.api.error.DecodeError
asFailure, asIgnorable, isIgnorable
-
Constructor Details
-
UnknownTypeDecodeError
public UnknownTypeDecodeError()Creates an instance of aUnknownTypeDecodeError
record class.
-
-
Method Details
-
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.
-