1 package org.w3c.dom.svg;
3 public class SVGException extends RuntimeException {
4 public SVGException(short code, String message) {
5 super(message);
6 this.code = code;
7 }
8 public short code;
9 // ExceptionCode
10 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 }