Class PySyntaxError

All Implemented Interfaces:
Serializable, Traverseproc

public class PySyntaxError extends PyException
A convenience 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.

See Also:
  • Constructor Details

    • PySyntaxError

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