UtfException class

Base UTF exception (optional)

Implemented types

Constructors

UtfException(String? callerId, UtfType type, String? goodEnding, int goodLength)
Default constructor

Properties

description String
Default explanation
no setter
goodEnding String?
Ending of successfully converted text
final
goodLength int
Length of successfully converted text
final
hashCode int
The hash code for this object.
no setterinherited
inCaller String
Identifier of the entity which threw the exception (can be file path)
latefinal
prefix String
Explanation prefix
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type UtfType
Type of UTF
final

Methods

getDescription() String
Actual description
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Serializer
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getEnding(String? text, [int? maxTailLength]) String
Take the last minimum piece of successfully converted text

Constants

tailLength → const int
Const: length of a tail preceding the error character