|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.openrdf.OpenRDFException
org.openrdf.rio.RDFParseException
public class RDFParseException
A parse exception that can be thrown by a parser when it encounters an error from which it cannot or doesn't want to recover.
| Constructor Summary | |
|---|---|
RDFParseException(String msg)
Creates a new ParseException. |
|
RDFParseException(String msg,
int lineNo,
int columnNo)
Creates a new ParseException. |
|
RDFParseException(Throwable t)
Creates a new ParseException wrapping another exception. |
|
RDFParseException(Throwable t,
int lineNo,
int columnNo)
Creates a new ParseException wrapping another exception. |
|
| Method Summary | |
|---|---|
int |
getColumnNumber()
Gets the column number associated with this parse exception. |
int |
getLineNumber()
Gets the line number associated with this parse exception. |
static String |
getLocationString(int lineNo,
int columnNo)
Creates a string to that shows the specified line and column number. |
| 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 RDFParseException(String msg)
msg - An error message.
public RDFParseException(String msg,
int lineNo,
int columnNo)
msg - An error message.lineNo - A line number associated with the message.columnNo - A column number associated with the message.public RDFParseException(Throwable t)
t - The source exception.
public RDFParseException(Throwable t,
int lineNo,
int columnNo)
t - The source exception.lineNo - A line number associated with the message.columnNo - A column number associated with the message.| Method Detail |
|---|
public int getLineNumber()
public int getColumnNumber()
public static String getLocationString(int lineNo,
int columnNo)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||