org.w3c.dom.svg
Class SVGException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.w3c.dom.svg.SVGException

public class SVGException
extends RuntimeException

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

Since:
JDE 4.6.0

Field Summary
 short code
          An integer indicating the type of error generated.
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.
 
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

code

public short code
An integer indicating the type of error generated.
Since:
JDE 4.6.0

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.
Since:
JDE 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.
Since:
JDE 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:
JDE 4.6.0



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.