MCPcopy
hub / github.com/remkop/picocli / App

Class App

src/test/java/picocli/OptionMethodImplTest.java:361–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 @Test
360 public void testExceptionFromMethod() {
361 class App {
362 @Option(names = "--jvm")
363 public void jvmException(String value) { throw new IllegalArgumentException("Boo!"); }
364 }
365
366 CommandLine parser = new CommandLine(new App());
367 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected