org.w3c.dom.svg
Class SVGException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.w3c.dom.svg.SVGException

public class SVGException
extends RuntimeException

An exception thrown for SVG-specific errors, such as noninvertable matrix in inverse.

Since:
BlackBerry API 4.6.0

Field Summary
static short SVG_INVALID_VALUE_ERR
          Value passed to an SVG-specific method is invalid, such as out of range color component in createSVGRGBColor.
static short SVG_MATRIX_NOT_INVERTABLE
          Matrix that has a determinant equal to zero, and therefore not invertable.
 short code
          An integer indicating the type of error generated.
 
Constructor Summary
SVGException(short code, String message)
           Constructs a SVGException with a detailed message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 



Field Detail

SVG_INVALID_VALUE_ERR

public static final short SVG_INVALID_VALUE_ERR
Value passed to an SVG-specific method is invalid, such as out of range color component in createSVGRGBColor.

See Also:
Constant Field Values
Since:
BlackBerry API 4.6.0

SVG_MATRIX_NOT_INVERTABLE

public static final short SVG_MATRIX_NOT_INVERTABLE
Matrix that has a determinant equal to zero, and therefore not invertable.

See Also:
Constant Field Values
Since:
BlackBerry API 4.6.0

code

public short code
An integer indicating the type of error generated.

Since:
BlackBerry API 4.6.0


Constructor Detail

SVGException

public SVGException(short code,
                    String message)

Constructs a SVGException with a detailed message.

Parameters:
code - Constructs a SVGException with a detailed message.
message - the exception's descriptive message.
Since:
BlackBerry API 4.6.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal