summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/w3c/dom/svg/SVGException.java
blob: 2d200de840241f3766f863139449ceea3e81f68f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.w3c.dom.svg;

public class SVGException extends RuntimeException {
  public SVGException(short code, String message) {
    super(message);
    this.code = code;
  }
  public short code;
  // ExceptionCode
  public static final short SVG_WRONG_TYPE_ERR           = 0;
  public static final short SVG_INVALID_VALUE_ERR        = 1;
  public static final short SVG_MATRIX_NOT_INVERTABLE    = 2;
}