|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.xml.QXmlParseException
public class QXmlParseException
The QXmlParseException
class is used to report errors with the QXmlErrorHandler
interface. The XML subsystem constructs an instance of this class when it detects an error. You can retrieve the place where the error occurred using systemId()
, publicId()
, lineNumber()
and columnNumber()
, along with the error message()
. The possible error messages are:
QXmlErrorHandler
, and QXmlReader
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
---|
QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9 |
Constructor Summary | |
---|---|
QXmlParseException()
Constructs a parse exception with the error string name for column c and line l for the public identifier p and the system identifier s. |
|
QXmlParseException(java.lang.String name)
Constructs a parse exception with the error string name for column c and line l for the public identifier p and the system identifier s. |
|
QXmlParseException(java.lang.String name,
int c)
Constructs a parse exception with the error string name for column c and line l for the public identifier p and the system identifier s. |
|
QXmlParseException(java.lang.String name,
int c,
int l)
Constructs a parse exception with the error string name for column c and line l for the public identifier p and the system identifier s. |
|
QXmlParseException(java.lang.String name,
int c,
int l,
java.lang.String p)
Constructs a parse exception with the error string name for column c and line l for the public identifier p and the system identifier s. |
|
QXmlParseException(java.lang.String name,
int c,
int l,
java.lang.String p,
java.lang.String s)
Constructs a parse exception with the error string name for column c and line l for the public identifier p and the system identifier s. |
Method Summary | |
---|---|
QXmlParseException |
clone()
This method is reimplemented for internal reasons |
int |
columnNumber()
Returns the column number where the error occurred. |
static QXmlParseException |
fromNativePointer(QNativePointer nativePointer)
|
int |
lineNumber()
Returns the line number where the error occurred. |
java.lang.String |
message()
Returns the error message. |
static QNativePointer |
nativePointerArray(QXmlParseException[] array)
|
java.lang.String |
publicId()
Returns the public identifier where the error occurred. |
java.lang.String |
systemId()
Returns the system identifier where the error occurred. |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
public QXmlParseException(java.lang.String name, int c, int l, java.lang.String p)
public QXmlParseException(java.lang.String name, int c, int l)
public QXmlParseException(java.lang.String name, int c)
public QXmlParseException(java.lang.String name)
public QXmlParseException()
public QXmlParseException(java.lang.String name, int c, int l, java.lang.String p, java.lang.String s)
Method Detail |
---|
public final int columnNumber()
public final int lineNumber()
public final java.lang.String message()
public final java.lang.String publicId()
public final java.lang.String systemId()
public static QXmlParseException fromNativePointer(QNativePointer nativePointer)
public static QNativePointer nativePointerArray(QXmlParseException[] array)
public QXmlParseException clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |