org.python.core

Class PySyntaxError

public class PySyntaxError extends PyException

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.

Constructor Summary
PySyntaxError(String s, int line, int column, String text, String filename)

Constructor Detail

PySyntaxError

public PySyntaxError(String s, int line, int column, String text, String filename)
Jython homepage