MalformedDipoleException

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

The rejection of a dipole carrier <g k:type="dipole"> that holds no valid endpoint pair.

The carrier must contain exactly two <circle k:type="round-point"> children — child order is the dipole's orientation — plus at most the connector <line> chrome, which is read past and never interpreted. Thrown for any other child element, a missing or surplus round point, two coincident round-point children (no dipole exists to build), or an unclosed carrier <g>.

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?