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
All Implemented Interfaces:
java.io.Serializable

public class SVGException
extends java.lang.RuntimeException

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

See Also:
Serialized Form

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, java.lang.String message)
          Constructs a SVGException with a detailed message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code

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


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

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
Constructor Detail

SVGException

public SVGException(short code,
                    java.lang.String message)
Constructs a SVGException with a detailed message.

Parameters:
code - the exception's error code.
message - the exception's descriptive message.


Copyright © 2003-2006 Nokia Corporation. See the Copyright Notice for details.