Home
last modified time | relevance | path

Searched refs:OptionsParsingException (Results 1 – 19 of 19) sorted by relevance

/external/desugar/java/com/google/devtools/common/options/
DConverters.java35 public Boolean convert(String input) throws OptionsParsingException { in convert()
54 throw new OptionsParsingException("'" + input + "' is not a boolean"); in convert()
79 public Integer convert(String input) throws OptionsParsingException { in convert()
83 throw new OptionsParsingException("'" + input + "' is not an int"); in convert()
96 public Long convert(String input) throws OptionsParsingException { in convert()
100 throw new OptionsParsingException("'" + input + "' is not a long"); in convert()
113 public Double convert(String input) throws OptionsParsingException { in convert()
117 throw new OptionsParsingException("'" + input + "' is not a double"); in convert()
130 public TriState convert(String input) throws OptionsParsingException { in convert()
152 throw new OptionsParsingException("'" + input + "' is not a boolean"); in convert()
[all …]
DInvocationPolicyEnforcer.java103 public void enforce(OptionsParser parser) throws OptionsParsingException { in enforce()
117 throws OptionsParsingException { in enforce()
199 private static class PolicyOperationNotSetException extends OptionsParsingException {
218 throws OptionsParsingException { in getEffectiveInvocationPolicy()
236 throws OptionsParsingException { in getEffectivePolicies()
253 throw new OptionsParsingException( in getEffectivePolicies()
299 throws OptionsParsingException { in throwAllowValuesOnExpansionFlagException()
300 throw new OptionsParsingException( in throwAllowValuesOnExpansionFlagException()
305 throws OptionsParsingException { in throwDisallowValuesOnExpansionFlagException()
306 throw new OptionsParsingException( in throwDisallowValuesOnExpansionFlagException()
[all …]
DOptionsParsingException.java22 public class OptionsParsingException extends Exception { class
25 public OptionsParsingException(String message) { in OptionsParsingException() method in OptionsParsingException
29 public OptionsParsingException(String message, String argument) { in OptionsParsingException() method in OptionsParsingException
34 public OptionsParsingException(String message, Throwable throwable) { in OptionsParsingException() method in OptionsParsingException
38 public OptionsParsingException(String message, String argument, Throwable throwable) { in OptionsParsingException() method in OptionsParsingException
DOptionsParserImpl.java183 throws OptionsParsingException { in clearValue()
195 OptionDescription getOptionDescription(String name) throws OptionsParsingException { in getOptionDescription()
209 throws OptionsParsingException { in getExpansionValueDescriptions()
275 throws OptionsParsingException { in parse()
297 throws OptionsParsingException { in parseArgsAsExpansionOfOption()
322 throws OptionsParsingException { in parse()
362 throws OptionsParsingException { in addOptionValueAtSpecificPriority()
393 throws OptionsParsingException { in handleNewParsedOption()
450 throws OptionsParsingException { in identifyOptionAndPossibleArgument()
475 throw new OptionsParsingException("Invalid options syntax: " + arg, arg); in identifyOptionAndPossibleArgument()
[all …]
DParamsFilePreProcessor.java52 public List<String> preProcess(List<String> args) throws OptionsParsingException { in preProcess()
55 throw new OptionsParsingException( in preProcess()
62 throw new OptionsParsingException( in preProcess()
79 throws IOException, OptionsParsingException; in parse()
DParsedOptionDescription.java89 } catch (OptionsParsingException e) { in getCanonicalFormWithValueEscaper()
111 } catch (OptionsParsingException e) { in getDeprecatedCanonicalForm()
167 public Object getConvertedValue() throws OptionsParsingException { in getConvertedValue()
171 } catch (OptionsParsingException e) { in getConvertedValue()
173 throw new OptionsParsingException( in getConvertedValue()
DOptionsParser.java230 } catch (OptionsParsingException e) { in parseAndExitUponError()
256 public ImmutableList<String> getExpansion() throws OptionsParsingException { in getExpansion()
522 OptionDescription getOptionDescription(String name) throws OptionsParsingException { in getOptionDescription()
537 throws OptionsParsingException { in getExpansionValueDescriptions()
559 public void parse(String... args) throws OptionsParsingException { in parse()
566 public void parse(List<String> args) throws OptionsParsingException { in parse()
587 throws OptionsParsingException { in parse()
611 throws OptionsParsingException { in parseWithSourceFunction()
617 throw new OptionsParsingException(errorMsg); in parseWithSourceFunction()
633 throws OptionsParsingException { in parseArgsAsExpansionOfOption()
[all …]
DBoolOrEnumConverter.java49 public T convert(String input) throws OptionsParsingException { in convert()
52 } catch (OptionsParsingException eEnum) { in convert()
57 } catch (OptionsParsingException eBoolean) { in convert()
DEnumConverter.java54 public T convert(String input) throws OptionsParsingException { in convert()
60 throw new OptionsParsingException("Not a valid " + typeName + ": '" in convert()
DInvocationPolicyParser.java36 public static InvocationPolicy parsePolicy(String policy) throws OptionsParsingException { in parsePolicy()
54 throw new OptionsParsingException("Malformed value of --invocation_policy: " + policy, e); in parsePolicy()
DOptionValueDescription.java60 ParsedOptionDescription parsedOption, List<String> warnings) throws OptionsParsingException; in addOptionInstance()
176 throws OptionsParsingException { in addOptionInstance()
303 throws OptionsParsingException { in addOptionInstance()
402 throws OptionsParsingException { in addOptionInstance()
DOptions.java52 throws OptionsParsingException { in parse()
86 } catch (OptionsParsingException e) { in getDefaults()
DOptionPriority.java75 throws OptionsParsingException { in getChildPriority()
77 throw new OptionsParsingException("Tried to expand option too many times"); in getChildPriority()
DConverter.java25 T convert(String input) throws OptionsParsingException; in convert()
DArgsPreProcessor.java21 List<String> preProcess(List<String> args) throws OptionsParsingException; in preProcess()
DOptionDefinition.java271 } catch (OptionsParsingException e) { in getDefaultValue()
/external/desugar/java/com/google/devtools/build/android/
DConverters.java17 import com.google.devtools.common.options.OptionsParsingException;
54 public Path convert(String input) throws OptionsParsingException { in convert()
58 throw new OptionsParsingException( in convert()
63 throw new OptionsParsingException( in convert()
/external/desugar/java/com/google/devtools/common/options/testing/
DConverterTester.java22 import com.google.devtools.common.options.OptionsParsingException;
98 } catch (OptionsParsingException ex) { in addEqualityGroup()
132 } catch (OptionsParsingException ex) { in testItems()
/external/desugar/java/com/google/devtools/common/options/processor/
DOptionProcessor.java27 import com.google.devtools.common.options.OptionsParsingException;
245 } catch (OptionsParsingException e) { in checkForDefaultConverter()