1 package org.w3c.dom.svg; 2 3 public abstract class SVGException extends RuntimeException { 4 public SVGException(short code, String message) { 5 super(message); 6 this.code = code; 7 } 8 public short code; 9 public static final short SVG_WRONG_TYPE_ERR = 0; 11 public static final short SVG_INVALID_VALUE_ERR = 1; 12 public static final short SVG_MATRIX_NOT_INVERTABLE = 2; 13 } 14 | Popular Tags |