|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception javax.xml.stream.XMLStreamException
public class XMLStreamException
The base exception for unexpected processing errors. This Exception class is used to report well-formedness errors as well as unexpected processing conditions.
Field Summary | |
---|---|
protected Location |
location
|
protected java.lang.Throwable |
nested
|
Constructor Summary | |
---|---|
XMLStreamException()
Default constructor |
|
XMLStreamException(java.lang.String msg)
Construct an exception with the assocated message. |
|
XMLStreamException(java.lang.String msg,
Location location)
Construct an exception with the assocated message, exception and location. |
|
XMLStreamException(java.lang.String msg,
Location location,
java.lang.Throwable th)
Construct an exception with the assocated message, exception and location. |
|
XMLStreamException(java.lang.String msg,
java.lang.Throwable th)
Construct an exception with the assocated message and exception |
|
XMLStreamException(java.lang.Throwable th)
Construct an exception with the assocated exception |
Method Summary | |
---|---|
Location |
getLocation()
Gets the location of the exception |
java.lang.Throwable |
getNestedException()
Gets the nested exception. |
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 |
Field Detail |
---|
protected java.lang.Throwable nested
protected Location location
Constructor Detail |
---|
public XMLStreamException()
public XMLStreamException(java.lang.String msg)
msg
- the message to reportpublic XMLStreamException(java.lang.Throwable th)
th
- a nested exceptionpublic XMLStreamException(java.lang.String msg, java.lang.Throwable th)
th
- a nested exceptionmsg
- the message to reportpublic XMLStreamException(java.lang.String msg, Location location, java.lang.Throwable th)
th
- a nested exceptionmsg
- the message to reportlocation
- the location of the errorpublic XMLStreamException(java.lang.String msg, Location location)
msg
- the message to reportlocation
- the location of the errorMethod Detail |
---|
public java.lang.Throwable getNestedException()
public Location getLocation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34