Class PySyntaxError

  • All Implemented Interfaces:
    java.io.Serializable

    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.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PySyntaxError​(java.lang.String s, int line, int column, java.lang.String text, java.lang.String filename)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PySyntaxError

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