|
||||||||
| 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
controlP5.ControlP5XMLParseException
public class ControlP5XMLParseException
An XMLParseException is thrown when an error occures while parsing an XML string.
$Revision: 1.1 $
$Date: 2005/03/23 12:41:56 $
nanoxml.XMLElement,
Serialized Form| Field Summary | |
|---|---|
static int |
NO_LINE
Indicates that no line number has been associated with this exception. |
| Constructor Summary | |
|---|---|
ControlP5XMLParseException(java.lang.String name,
int lineNr,
java.lang.String message)
Creates an exception. |
|
ControlP5XMLParseException(java.lang.String name,
java.lang.String message)
Creates an exception. |
|
| Method Summary | |
|---|---|
int |
getLineNr()
Where the error occurred, or NO_LINE 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NO_LINE
| Constructor Detail |
|---|
public ControlP5XMLParseException(java.lang.String name,
java.lang.String message)
name - The name of the element where the error is located.message - A message describing what went wrong.
message != null
public ControlP5XMLParseException(java.lang.String name,
int lineNr,
java.lang.String message)
name - The name of the element where the error is located.lineNr - The number of the line in the input.message - A message describing what went wrong.
message != null
lineNr > 0
| Method Detail |
|---|
public int getLineNr()
NO_LINE if the line number is
unknown.
nanoxml.XMLParseException#NO_LINE
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||