Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ExitException (0.07 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                            throw new ExitException(1);
                        }
                    } else {
                        System.err.println(
                                "POM file " + arg + " specified with the -f/--file command line argument does not exist");
                        throw new ExitException(1);
                    }
                    break;
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

         * carried exit code will be returned from {@link #invoke(InvokerRequest)} method.
         */
        public static final class ExitException extends InvokerException {
            private final int exitCode;
    
            public ExitException(int exitCode) {
                super("EXIT");
                this.exitCode = exitCode;
            }
        }
    
        @SuppressWarnings("VisibilityModifier")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            PrintStream oldOut = System.out;
            System.setOut(new PrintStream(systemOut));
    
            // when
            try {
                cli.cli(cliRequest);
            } catch (MavenCli.ExitException exitException) {
                // expected
            } finally {
                // restore sysout
                System.setOut(oldOut);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top