Class Launcher


  • @Deprecated
    public class Launcher
    extends Launcher
    Deprecated.
    A compatibility wrapper for org.codehaus.plexus.classworlds.launcher.Launcher provided for legacy code
    Author:
    Andrew Williams
    • Constructor Detail

      • Launcher

        public Launcher()
        Deprecated.
    • Method Detail

      • main

        public static void main​(String[] args)
        Deprecated.
        Launch the launcher from the command line. Will exit using System.exit with an exit code of 0 for success, 100 if there was an unknown exception, or some other code for an application error.
        Parameters:
        args - The application command-line arguments.
      • mainWithExitCode

        public static int mainWithExitCode​(String[] args)
                                    throws Exception
        Deprecated.
        Launch the launcher.
        Parameters:
        args - The application command-line arguments.
        Returns:
        an integer exit code
        Throws:
        Exception - If an error occurs.