Home
last modified time | relevance | path

Searched refs:UsageException (Results 1 – 16 of 16) sorted by relevance

/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DCommandLineFlagsTest.java33 public void formatInPlaceRequiresAtLeastOneFile() throws UsageException { in formatInPlaceRequiresAtLeastOneFile()
37 } catch (UsageException e) { in formatInPlaceRequiresAtLeastOneFile()
44 } catch (UsageException e) { in formatInPlaceRequiresAtLeastOneFile()
53 public void formatASubsetRequiresExactlyOneFile() throws UsageException { in formatASubsetRequiresExactlyOneFile()
59 } catch (UsageException e) { in formatASubsetRequiresExactlyOneFile()
66 } catch (UsageException e) { in formatASubsetRequiresExactlyOneFile()
75 } catch (UsageException e) { in formatASubsetRequiresExactlyOneFile()
82 } catch (UsageException e) { in formatASubsetRequiresExactlyOneFile()
90 public void numberOfOffsetsMustMatchNumberOfLengths() throws UsageException { in numberOfOffsetsMustMatchNumberOfLengths()
96 } catch (UsageException e) { in numberOfOffsetsMustMatchNumberOfLengths()
[all …]
DDiagnosticTest.java154 public void parseError2() throws FormatterException, IOException, UsageException { in parseError2()
173 public void parseErrorStdin() throws FormatterException, IOException, UsageException { in parseErrorStdin()
188 public void lexError2() throws FormatterException, IOException, UsageException { in lexError2()
207 public void lexErrorStdin() throws FormatterException, IOException, UsageException { in lexErrorStdin()
DFormatterTest.java273 public void importOrderingWithoutFormatting() throws IOException, UsageException { in importOrderingWithoutFormatting()
279 public void importOrderingAndFormatting() throws IOException, UsageException { in importOrderingAndFormatting()
284 public void formattingWithoutImportOrdering() throws IOException, UsageException { in formattingWithoutImportOrdering()
291 public void formattingWithoutRemovingUnusedImports() throws IOException, UsageException { in formattingWithoutRemovingUnusedImports()
298 throws IOException, UsageException { in importOrdering()
DMainTest.java62 } catch (UsageException e) { in testUsageOutput()
80 public void version() throws UsageException { in version()
DPartialFormattingTest.java1655 private String runFormatter(String input, String[] args) throws IOException, UsageException { in runFormatter()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DMain.java71 } catch (UsageException e) { in main()
88 public int format(String... args) throws UsageException { in format()
95 throw new UsageException(); in format()
217 public static CommandLineOptions processArgs(String... args) throws UsageException { in processArgs()
222 throw new UsageException(e.getMessage()); in processArgs()
225 throw new UsageException(t.getMessage()); in processArgs()
233 throw new UsageException("in-place formatting was requested but no files were provided"); in processArgs()
236 throw new UsageException("partial formatting is only support for a single file"); in processArgs()
239 throw new UsageException("-offsets and -lengths flags must be provided in matching pairs"); in processArgs()
242 throw new UsageException("no files were provided"); in processArgs()
[all …]
DUsageException.java22 final class UsageException extends Exception { class
80 UsageException() { in UsageException() method in UsageException
84 UsageException(String message) { in UsageException() method in UsageException
/external/turbine/java/com/google/turbine/main/
DUsageException.java24 class UsageException extends RuntimeException { class
48 UsageException() { in UsageException() method in UsageException
52 UsageException(String message) { in UsageException() method in UsageException
DMain.java89 } catch (TurbineError | UsageException e) { in main()
268 throw new UsageException(); in usage()
273 throw new UsageException( in usage()
281 throw new UsageException("expected at most one of --release and --system"); in bootclasspath()
293 throw new UsageException("not a supported release: " + release); in bootclasspath()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DPerfTest.java294 public static class UsageException extends Exception { class in PerfTest
300 public UsageException(String message) { in UsageException() method in PerfTest.UsageException
304 public UsageException() { in UsageException() method in PerfTest.UsageException
448 private Set parseOptions(String[] args) throws UsageException { in parseOptions()
467 throw new UsageException(); in parseOptions()
480 throw new UsageException("Cannot specify both '-t <seconds>' and '-i <iterations>'"); in parseOptions()
482 … throw new UsageException("Either '-t <seconds>' or '-i <iterations>' must be specified"); in parseOptions()
487 … throw new UsageException("'-i <iterations>' requires an integer number of iterations"); in parseOptions()
493 throw new UsageException("'-r <seconds>' requires an integer number of seconds"); in parseOptions()
498 throw new UsageException("'-p <passes>' must be specified"); in parseOptions()
[all …]
DDateFormatPerformanceTest.java36 throw new UsageException(); in setup()
DDecimalFormatPerformanceTest.java35 throw new UsageException(); in setup()
/external/google-java-format/
DAndroid.bp42 "core/src/main/java/com/google/googlejavaformat/java/UsageException.java",
/external/turbine/javatests/com/google/turbine/main/
DMainTest.java280 } catch (UsageException expected) { in usage()
/external/dexmaker/lib/
Ddalvik-dx-9.0.0_r3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/dagger2/java/dagger/internal/codegen/bootstrap/
Dbootstrap_compiler_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties META-INF ...