SerializationException class final
Thrown when a error occurs during serialization.
Typically, this is thrown when a Serializer is unable to serialize or deserialize a value.
- Inheritance
-
- Object
- FormatException
- SerializationException
- Implemented types
Constructors
- SerializationException(String message)
-
Creates a SerializationException with the given message.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A message describing the format error.
finalinherited
- offset → int?
-
The offset in source where the error was detected.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → Null
-
The actual source input which caused the error.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns a description of the format exception.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited