|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
tuwien.auto.calimero.exception.KNXException
tuwien.auto.calimero.xml.KNXMLException
public class KNXMLException
Indicates a problem with XML processing.
| Constructor Summary | |
|---|---|
KNXMLException()
Constructs a new KNXMLException without a detail message. |
|
KNXMLException(java.lang.String s)
Constructs a new KNXMLException with the specified detail message. |
|
KNXMLException(java.lang.String s,
java.lang.String badItem,
int lineNumber)
Constructs a new KNXMLException with the specified detail message,
the problematic/erroneous processed XML item together with the line number it
occurred on. |
|
| Method Summary | |
|---|---|
java.lang.String |
getBadItem()
Returns the processed item which caused this exception. |
int |
getLineNumber()
Returns the line number in the processed resource. |
| 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 KNXMLException()
KNXMLException without a detail message.
public KNXMLException(java.lang.String s)
KNXMLException with the specified detail message.
s - the detail message
public KNXMLException(java.lang.String s,
java.lang.String badItem,
int lineNumber)
KNXMLException with the specified detail message,
the problematic/erroneous processed XML item together with the line number it
occurred on.
s - the detail messagebadItem - the problematic/erroneous processed XML tag, text or contentlineNumber - line number in the processed resource, 0 for no line number| Method Detail |
|---|
public final java.lang.String getBadItem()
null if no item availablepublic final int getLineNumber()
The first line is referred to with line number 1.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||