< prev index next >

src/java.base/share/classes/jdk/internal/util/xml/XMLStreamException.java

Print this page




  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package jdk.internal.util.xml;
  27 
  28 /**
  29  * A copy of the StAX XMLStreamException without Location support
  30  *
  31  * The base exception for unexpected processing errors.  This Exception
  32  * class is used to report well-formedness errors as well as unexpected
  33  * processing conditions.
  34  * @version 1.0
  35  * @author Copyright (c) 2009 by Oracle Corporation. All Rights Reserved.
  36  * @since 1.6
  37  */
  38 
  39 public class XMLStreamException extends Exception {

  40     private static final long serialVersionUID = 1L;
  41 
  42 
  43     protected Throwable nested;
  44 
  45     /**
  46      * Default constructor
  47      */
  48     public XMLStreamException() {
  49         super();
  50     }
  51 
  52     /**
  53      * Construct an exception with the associated message.
  54      *
  55      * @param msg the message to report
  56      */
  57     public XMLStreamException(String msg) {
  58         super(msg);
  59     }




  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package jdk.internal.util.xml;
  27 
  28 /**
  29  * A copy of the StAX XMLStreamException without Location support
  30  *
  31  * The base exception for unexpected processing errors.  This Exception
  32  * class is used to report well-formedness errors as well as unexpected
  33  * processing conditions.
  34  * @version 1.0
  35  * @author Copyright (c) 2009 by Oracle Corporation. All Rights Reserved.
  36  * @since 1.6
  37  */
  38 
  39 public class XMLStreamException extends Exception {
  40     @java.io.Serial
  41     private static final long serialVersionUID = 1L;
  42 
  43 
  44     protected Throwable nested;
  45 
  46     /**
  47      * Default constructor
  48      */
  49     public XMLStreamException() {
  50         super();
  51     }
  52 
  53     /**
  54      * Construct an exception with the associated message.
  55      *
  56      * @param msg the message to report
  57      */
  58     public XMLStreamException(String msg) {
  59         super(msg);
  60     }


< prev index next >