|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| 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
org.web3d.vrml.lang.VRMLException
org.web3d.vrml.sav.SAVException
org.web3d.vrml.sav.VRMLParseException
public class VRMLParseException
An exception that represents a parsing error in a VRML stream.
This is usually due to some form or syntax error. If the parser supports locators then this will also include line and column information. If they are not supported this will have values of -1 for unknown values.
| Constructor Summary | |
|---|---|
VRMLParseException(int line,
int col)
Create an exception that says an error occurred on the given line and column numbers. |
|
VRMLParseException(int line,
int col,
java.lang.String msg)
Create an exception that says an error occurred on the given line and column numbers and the given message. |
|
| Method Summary | |
|---|---|
int |
getColumnNumber()
Get the column number this exception occurred on. |
int |
getLineNumber()
Get the line number this exception occurred on. |
| 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 VRMLParseException(int line,
int col)
line - The line number the error occurred oncol - The column number the error occurred on
public VRMLParseException(int line,
int col,
java.lang.String msg)
line - The line number the error occurred oncol - The column number the error occurred on| Method Detail |
|---|
public int getLineNumber()
public int getColumnNumber()
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||