SAXException


SAXException org.xml.sax

Java 1.4 serializable checked

Signals a problem while parsing an XML document. This class serves as the general superclass for more specific types of SAX exceptions. The parse( ) method of an XMLReader can throw an exception of this type. The application can also throw a SAXException from any of the handler methods (of ContentHandler and ErrorHandler for example) invoked by the parser.

Figure 22-2. org.xml.sax.SAXException

 public class  SAXException  extends Exception {  // Public Constructors   5.0  public  SAXException  ( );        public  SAXException  (String  message  );        public  SAXException  (Exception  e  );        public  SAXException  (String  message  , Exception  e  );  // Public Instance Methods  public Exception  getException  ( );  default:null   // Public Methods Overriding Throwable  public String  getMessage  ( );  default:null  public String  toString  ( );   } 

Subclasses

SAXNotRecognizedException , SAXNotSupportedException , SAXParseException

Thrown By

Too many methods to list.



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net