|
||||||||||
| 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.python.core.PyException
org.python.core.PySyntaxError
A convience class for creating Syntax errors. Note that the syntax error is still taken from Py.SyntaxError.
Generally subclassing from PyException is not the right way of creating new exception classes.
| Field Summary | |
boolean |
forceNewline
|
| Fields inherited from class org.python.core.PyException |
traceback, type, value |
| Constructor Summary | |
PySyntaxError(String s,
int line,
int column,
String text,
String filename)
|
|
PySyntaxError(String s,
int line,
int column,
String text,
String filename,
boolean forceNewline)
|
|
| Methods inherited from class org.python.core.PyException |
instantiate, printStackTrace, printStackTrace, super__printStackTrace, toString, userFriendlyString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public boolean forceNewline
| Constructor Detail |
public PySyntaxError(String s,
int line,
int column,
String text,
String filename)
public PySyntaxError(String s,
int line,
int column,
String text,
String filename,
boolean forceNewline)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||