Package jflex

Class SilentExit

  • All Implemented Interfaces:
    java.io.Serializable

    public class SilentExit
    extends java.lang.Exception
    Signals a silent exit (no statistics printout).
    Version:
    JFlex 1.7.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int exitCode
      Program exit code if this exception is taken
      private static long serialVersionUID
      Serialisation
    • Constructor Summary

      Constructors 
      Constructor Description
      SilentExit()
      SilentExit with default exit code 1.
      SilentExit​(int exitCode)
      SilentExit with specified program exit code.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int exitCode()
      The exit code of this SilentExit exception.
      • Methods inherited from class java.lang.Throwable

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • exitCode

        private int exitCode
        Program exit code if this exception is taken
      • serialVersionUID

        private static final long serialVersionUID
        Serialisation
        See Also:
        Constant Field Values
    • Constructor Detail

      • SilentExit

        public SilentExit​(int exitCode)
        SilentExit with specified program exit code.
        Parameters:
        exitCode - a int.
      • SilentExit

        public SilentExit()
        SilentExit with default exit code 1.
    • Method Detail

      • exitCode

        public int exitCode()
        The exit code of this SilentExit exception.
        Returns:
        a int.