SVGException

< svg‎ | objects
Jump to: navigation, search

SVGException

This article is Not Ready.



Needs Summary: This article does not have a summary. Summaries give a brief overview of the topic and are automatically included on some listing pages that link to this article.

Inherits from SVGElement

Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from SVGElement

Properties

No properties.

Methods

No methods.

Events

No events.

Needs Examples: This section should include examples.

Notes

Remarks

Note: In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherent 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.

Standards information

Members

The SVGException object has these methods:

  • toString: Returns a string that represents the current object.

The SVGException object has these properties:

  • code: Gets the exception code that is raised.
  • message: Gets a description of the exception that is raised.
  • name: Gets the exception name that is raised.

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

  • DOM Exception Error Codes

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]