MalformedPolylineException

class MalformedPolylineException(reason: String, location: String? = null) : SvgFormatException

The rejection of a <polyline> whose points chain into no polyline.

Thrown for a missing points attribute, a non-numeric coordinate, an odd coordinate count (never silently dropped the way browsers drop a trailing number), or a vertex list the CGA Polyline constructor rejects — that diagnostic is carried through in the message.

Constructors

Link copied to clipboard
constructor(reason: String, location: String? = null)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?