1 16 17 package org.apache.xerces.xni.parser; 18 19 import org.apache.xerces.xni.XNIException; 20 21 30 public class XMLConfigurationException 31 extends XNIException { 32 33 34 static final long serialVersionUID = -5437427404547669188L; 35 36 40 41 public static final short NOT_RECOGNIZED = 0; 42 43 44 public static final short NOT_SUPPORTED = 1; 45 46 50 51 protected short fType; 52 53 54 protected String fIdentifier; 55 56 60 70 public XMLConfigurationException(short type, String identifier) { 71 super(identifier); 72 fType = type; 73 fIdentifier = identifier; 74 } 76 87 public XMLConfigurationException(short type, String identifier, 88 String message) { 89 super(message); 90 fType = type; 91 fIdentifier = identifier; 92 } 94 98 104 public short getType() { 105 return fType; 106 } 108 109 public String getIdentifier() { 110 return fIdentifier; 111 } 113 } | Popular Tags |