|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.insightful.gdevice.XMLParseException
public class XMLParseException
An XMLParseException is thrown when an error occures while parsing an XML string.
This class is part of NanoXML.
Copyright (C) 2000 Marc De Scheemaecker, All Rights Reserved.
XMLElement
,
Serialized FormConstructor Summary | |
---|---|
XMLParseException(String tag,
int lineNr,
String message)
Creates an exception. |
|
XMLParseException(String tag,
String message)
Creates an exception. |
Method Summary | |
---|---|
int |
getLineNr()
Where the error occurred, or -1 if the line number is unknown. |
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 |
---|
public XMLParseException(String tag, String message)
tag
- The name of the tag where the error is located.message
- A message describing what went wrong.public XMLParseException(String tag, int lineNr, String message)
tag
- The name of the tag where the error is located.lineNr
- The number of the line in the input.message
- A message describing what went wrong.Method Detail |
---|
public int getLineNr()
|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |