Class SystemExitException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SystemExitException
    extends java.lang.SecurityException
    Exception to be thrown by SystemExitManager when System.exit(int) is called
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int exitCode  
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemExitException​(java.lang.String s, int exitCode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getExitCode()  
      • 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 final int exitCode
    • Constructor Detail

      • SystemExitException

        public SystemExitException​(java.lang.String s,
                                   int exitCode)
    • Method Detail

      • getExitCode

        public int getExitCode()