org.jvnet.hk2.config
Class XMLStreamException2

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.stream.XMLStreamException
              extended by org.jvnet.hk2.config.XMLStreamException2
All Implemented Interfaces:
Serializable

public class XMLStreamException2
extends XMLStreamException

To fix the problem in StAX API where exceptions are not properly chained.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.xml.stream.XMLStreamException
location, nested
 
Constructor Summary
XMLStreamException2(String string)
           
XMLStreamException2(String string, Location location)
           
XMLStreamException2(String string, Location location, Throwable throwable)
           
XMLStreamException2(String string, Throwable throwable)
           
XMLStreamException2(Throwable throwable)
           
 
Method Summary
 
Methods inherited from class javax.xml.stream.XMLStreamException
getLocation, getNestedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLStreamException2

public XMLStreamException2(String string)

XMLStreamException2

public XMLStreamException2(Throwable throwable)

XMLStreamException2

public XMLStreamException2(String string,
                           Throwable throwable)

XMLStreamException2

public XMLStreamException2(String string,
                           Location location,
                           Throwable throwable)

XMLStreamException2

public XMLStreamException2(String string,
                           Location location)


Copyright © 2013 Oracle Corporation. All Rights Reserved.