Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

SVGException object

Defines an exception that is raised when a specific SVG operation is impossible to perform.

Scalable Vector Graphics (SVG) 1.1, Appendix B.4Internet Explorer 9



The SVGException object has these types of members:


The SVGException object has these methods.


Returns a string that represents the current object.



The SVGException object has these properties.

PropertyAccess typeDescription


Gets the exception code that is raised.


Gets a description of the exception that is raised.



Gets the exception name that is raised.


Standards information


Note  In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherit core HTML attributes, properties, events, methods, and styles.

The following constants exist in group SVGException code:

  • SVGWrongTypeError is raised when an object of the wrong type is passed to an operation.
    Note  No operation is defined to raise an SVGException exception with this code in the SVG 1.1 Second Edition specification. The constant is defined for consistency with the 1.1 First Edition specification.
  • SVGInvalidValueError is raised when an invalid value is passed to an operation or assigned to an attribute.
  • SVGMatrixNotInvertableError is raised when an application tries to invert a matrix that is not invertible.
    Note  The unusual spelling of this constant is maintained for compatibility with existing content.

See also

DOM Exception Error Codes



© 2015 Microsoft