Home
last modified time | relevance | path

Searched refs:errorMessageTemplate (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava/src/com/google/common/base/
DPreconditions.java161 @Nullable String errorMessageTemplate, in checkArgument() argument
164 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, errorMessageArgs)); in checkArgument()
175 public static void checkArgument(boolean b, @Nullable String errorMessageTemplate, char p1) { in checkArgument() argument
177 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument()
188 public static void checkArgument(boolean b, @Nullable String errorMessageTemplate, int p1) { in checkArgument() argument
190 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument()
201 public static void checkArgument(boolean b, @Nullable String errorMessageTemplate, long p1) { in checkArgument() argument
203 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument()
215 boolean b, @Nullable String errorMessageTemplate, @Nullable Object p1) { in checkArgument() argument
217 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument()
[all …]
DVerify.java121 @Nullable String errorMessageTemplate, in verify() argument
124 throw new VerifyException(lenientFormat(errorMessageTemplate, errorMessageArgs)); in verify()
136 public static void verify(boolean expression, @Nullable String errorMessageTemplate, char p1) { in verify() argument
138 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify()
150 public static void verify(boolean expression, @Nullable String errorMessageTemplate, int p1) { in verify() argument
152 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify()
164 public static void verify(boolean expression, @Nullable String errorMessageTemplate, long p1) { in verify() argument
166 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify()
179 boolean expression, @Nullable String errorMessageTemplate, @Nullable Object p1) { in verify() argument
181 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify()
[all …]
/external/guava/android/guava/src/com/google/common/base/
DPreconditions.java161 @NullableDecl String errorMessageTemplate, in checkArgument() argument
164 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, errorMessageArgs)); in checkArgument()
175 public static void checkArgument(boolean b, @NullableDecl String errorMessageTemplate, char p1) { in checkArgument() argument
177 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument()
188 public static void checkArgument(boolean b, @NullableDecl String errorMessageTemplate, int p1) { in checkArgument() argument
190 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument()
201 public static void checkArgument(boolean b, @NullableDecl String errorMessageTemplate, long p1) { in checkArgument() argument
203 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument()
215 boolean b, @NullableDecl String errorMessageTemplate, @NullableDecl Object p1) { in checkArgument() argument
217 throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1)); in checkArgument()
[all …]
DVerify.java121 @NullableDecl String errorMessageTemplate, in verify() argument
124 throw new VerifyException(lenientFormat(errorMessageTemplate, errorMessageArgs)); in verify()
137 boolean expression, @NullableDecl String errorMessageTemplate, char p1) { in verify() argument
139 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify()
151 public static void verify(boolean expression, @NullableDecl String errorMessageTemplate, int p1) { in verify() argument
153 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify()
166 boolean expression, @NullableDecl String errorMessageTemplate, long p1) { in verify() argument
168 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify()
181 boolean expression, @NullableDecl String errorMessageTemplate, @NullableDecl Object p1) { in verify() argument
183 throw new VerifyException(lenientFormat(errorMessageTemplate, p1)); in verify()
[all …]
/external/dagger2/java/dagger/internal/
DPreconditions.java97 T reference, String errorMessageTemplate, Object errorMessageArg) { in checkNotNull() argument
100 if (!errorMessageTemplate.contains("%s")) { in checkNotNull()
103 if (errorMessageTemplate.indexOf("%s") != errorMessageTemplate.lastIndexOf("%s")) { in checkNotNull()
111 throw new NullPointerException(errorMessageTemplate.replace("%s", argString)); in checkNotNull()
/external/dagger2/java/dagger/hilt/internal/
DPreconditions.java65 boolean expression, String errorMessageTemplate, Object... args) { in checkArgument() argument
67 throw new IllegalArgumentException(String.format(errorMessageTemplate, args)); in checkArgument()
81 public static void checkState(boolean expression, String errorMessageTemplate, Object... args) { in checkState() argument
83 throw new IllegalStateException(String.format(errorMessageTemplate, args)); in checkState()
/external/dagger2/java/dagger/hilt/processor/internal/
DProcessorErrors.java77 @Nullable @FormatString String errorMessageTemplate, in checkState() argument
82 String.format(errorMessageTemplate, errorMessageArgs), badElement); in checkState()
128 @Nullable @FormatString String errorMessageTemplate, in checkState() argument
134 String.format(errorMessageTemplate, errorMessageArgs), badElements); in checkState()
/external/conscrypt/common/src/main/java/org/conscrypt/
DPreconditions.java63 static void checkArgument(boolean condition, String errorMessageTemplate, Object arg) { in checkArgument() argument
65 throw new IllegalArgumentException(String.format(errorMessageTemplate, arg)); in checkArgument()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DPreconditions.java64 static void checkArgument(boolean condition, String errorMessageTemplate, Object arg) { in checkArgument() argument
66 throw new IllegalArgumentException(String.format(errorMessageTemplate, arg)); in checkArgument()
/external/opencensus-java/api/src/main/java/io/opencensus/internal/
DUtils.java63 String errorMessageTemplate, in checkArgument() argument
66 throw new IllegalArgumentException(format(errorMessageTemplate, errorMessageArgs)); in checkArgument()