1 57 58 package com.sun.org.apache.xerces.internal.xni.parser; 59 60 import com.sun.org.apache.xerces.internal.xni.XNIException; 61 62 71 public class XMLConfigurationException 72 extends XNIException { 73 74 78 79 public static final short NOT_RECOGNIZED = 0; 80 81 82 public static final short NOT_SUPPORTED = 1; 83 84 88 89 protected short fType; 90 91 92 protected String fIdentifier; 93 94 98 108 public XMLConfigurationException(short type, String identifier) { 109 super(identifier); 110 fType = type; 111 fIdentifier = identifier; 112 } 114 125 public XMLConfigurationException(short type, String identifier, 126 String message) { 127 super(message); 128 fType = type; 129 fIdentifier = identifier; 130 } 132 136 142 public short getType() { 143 return fType; 144 } 146 147 public String getIdentifier() { 148 return fIdentifier; 149 } 151 } | Popular Tags |