TypeDeserializationException class
Exception thrown when type deserialization fails.
This occurs when a TypeSerializer.deserialize method throws an exception
or the serialized data is malformed.
- Inheritance
-
- Object
- EntiDBException
- TypeRegistryException
- TypeDeserializationException
- Annotations
-
- @immutable
Constructors
- TypeDeserializationException({required String typeName, Object? data, Object? cause, StackTrace? stackTrace})
- Creates a new TypeDeserializationException.
Properties
- cause → Object?
-
The underlying cause of this exception, if any.
finalinherited
- data → Object?
-
The data that could not be deserialized.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A human-readable description of the error.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where the exception was thrown.
finalinherited
- typeName → String
-
The type name that failed to deserialize.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited