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.

Field Summary

Fields inherited from class org.python.core.PyException

traceback, type, value

Constructor Summary

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

Method Summary

Methods inherited from class org.python.core.PyException

instantiate, printStackTrace, printStackTrace, super__printStackTrace, toString

Constructor Details

PySyntaxError

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

Jython homepage