Class PySyntaxError

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • PySyntaxError

        public PySyntaxError​(java.lang.String s,
                             int line,
                             int column,
                             java.lang.String text,
                             java.lang.String filename)