SVGException Class

SVGException class

This exception is raised when a specific SVG operation is impossible to perform.

public class SVGException : PlatformException

Constructors

NameDescription
SVGException(ushort)Initializes a new instance of the SVGException class.

Properties

NameDescription
Code { get; }A code identifying the reason why the requested operation could not be performed. The value of this member will be one of the constants in the SVGException code group.

Fields

NameDescription
const SVG_INVALID_VALUE_ERRRaised when an invalid value is passed to an operation or assigned to an attribute.
const SVG_MATRIX_NOT_INVERTABLERaised when an attempt is made to invert a matrix that is not invertible.
const SVG_WRONG_TYPE_ERRRaised when an object of the wrong type is passed to an operation.

See Also