/frameworks/base/core/java/com/android/internal/logging/ |
MetricsLogger.java | 57 public void visible(int category) throws IllegalArgumentException { 59 throw new IllegalArgumentException("Must define metric category"); 67 public void hidden(int category) throws IllegalArgumentException { 69 throw new IllegalArgumentException("Must define metric category"); 78 throws IllegalArgumentException { 87 throws IllegalArgumentException { 116 throw new IllegalArgumentException("Must define metric category"); 147 public static void visible(Context context, int category) throws IllegalArgumentException { 153 public static void hidden(Context context, int category) throws IllegalArgumentException { 160 throws IllegalArgumentException { [all...] |
/libcore/luni/src/main/java/libcore/util/ |
HexEncoding.java | 62 * Throws an {@code IllegalArgumentException} if the input is malformed. 64 public static byte[] decode(String encoded) throws IllegalArgumentException { 73 * Throws an {@code IllegalArgumentException} if the input is malformed. 75 public static byte[] decode(String encoded, boolean allowSingleChar) throws IllegalArgumentException { 83 * Throws an {@code IllegalArgumentException} if the input is malformed. 85 public static byte[] decode(char[] encoded) throws IllegalArgumentException { 94 * Throws an {@code IllegalArgumentException} if the input is malformed. 96 public static byte[] decode(char[] encoded, boolean allowSingleChar) throws IllegalArgumentException { 110 throw new IllegalArgumentException("Invalid input length: " + encoded.length); 121 private static int toDigit(char[] str, int offset) throws IllegalArgumentException { [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
RC2ParameterSpecTest.java | 25 import java.lang.IllegalArgumentException; 40 * Tests that IllegalArgumentException is thrown in the case of 50 fail("An IllegalArgumentException should be thrown " 52 } catch (IllegalArgumentException e) { 57 fail("An IllegalArgumentException should be thrown " 59 } catch (IllegalArgumentException e) { 71 * testing. Tests that IllegalArgumentException is thrown in the case of 82 fail("An IllegalArgumentException should be thrown " 84 } catch (IllegalArgumentException e) { 89 fail("An IllegalArgumentException should be thrown [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1Enumerated.java | 20 * @exception IllegalArgumentException if the object cannot be converted. 39 throw new IllegalArgumentException("encoding error in getInstance: " + e.toString()); 43 throw new IllegalArgumentException("illegal object in getInstance: " + obj.getClass().getName()); 52 * @exception IllegalArgumentException if the tagged object cannot 106 throw new IllegalArgumentException("malformed enumerated"); 110 throw new IllegalArgumentException("malformed enumerated"); 167 throw new IllegalArgumentException("ENUMERATED has zero length");
|
/frameworks/base/core/java/android/os/ |
HwParcel.java | 286 * @throws IllegalArgumentException if the parcel has no more data 292 * @throws IllegalArgumentException if the parcel has no more data 298 * @throws IllegalArgumentException if the parcel has no more data 304 * @throws IllegalArgumentException if the parcel has no more data 310 * @throws IllegalArgumentException if the parcel has no more data 316 * @throws IllegalArgumentException if the parcel has no more data 322 * @throws IllegalArgumentException if the parcel has no more data 328 * @throws IllegalArgumentException if the parcel has no more data 335 * @throws IllegalArgumentException if the parcel has no more data 341 * @throws IllegalArgumentException if the parcel has no more dat [all...] |
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
eglCreateWindowSurface.cpp | 20 _exceptionType = "java/lang/IllegalArgumentException"; 37 _exceptionType = "java/lang/IllegalArgumentException"; 46 _exceptionType = "java/lang/IllegalArgumentException"; 93 _exceptionType = "java/lang/IllegalArgumentException"; 99 _exceptionType = "java/lang/IllegalArgumentException"; 106 _exceptionType = "java/lang/IllegalArgumentException"; 133 _exceptionType = "java/lang/IllegalArgumentException";
|
/libcore/ojluni/src/main/java/java/lang/ |
IllegalArgumentException.java | 36 class IllegalArgumentException extends RuntimeException { 38 * Constructs an <code>IllegalArgumentException</code> with no 41 public IllegalArgumentException() { 46 * Constructs an <code>IllegalArgumentException</code> with the 51 public IllegalArgumentException(String s) { 71 public IllegalArgumentException(String message, Throwable cause) { 89 public IllegalArgumentException(Throwable cause) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
BlockedNumberContractTest.java | 168 fail("Should throw IllegalArgumentException."); 169 } catch (IllegalArgumentException expected) { 176 fail("Should throw IllegalArgumentException."); 177 } catch (IllegalArgumentException expected) { 185 fail("Should throw IllegalArgumentException."); 186 } catch (IllegalArgumentException expected) { 194 fail("Should throw IllegalArgumentException."); 195 } catch (IllegalArgumentException expected) { 263 fail("Should throw IllegalArgumentException"); 264 } catch (IllegalArgumentException expected) [all...] |
/external/okhttp/okio/okio/src/main/java/okio/ |
Okio.java | 46 if (source == null) throw new IllegalArgumentException("source == null"); 56 if (sink == null) throw new IllegalArgumentException("sink == null"); 66 if (out == null) throw new IllegalArgumentException("out == null"); 67 if (timeout == null) throw new IllegalArgumentException("timeout == null"); 113 if (socket == null) throw new IllegalArgumentException("socket == null"); 125 if (in == null) throw new IllegalArgumentException("in == null"); 126 if (timeout == null) throw new IllegalArgumentException("timeout == null"); 130 if (byteCount < 0) throw new IllegalArgumentException("byteCount < 0: " + byteCount); 163 if (file == null) throw new IllegalArgumentException("file == null"); 171 // if (path == null) throw new IllegalArgumentException("path == null") [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParameterGenerator2Test.java | 89 fail("IllegalArgumentException must be thrown"); 90 } catch (IllegalArgumentException e) { 101 fail("IllegalArgumentException must be thrown"); 102 } catch (IllegalArgumentException e) { 106 fail("IllegalArgumentException must be thrown"); 107 } catch (IllegalArgumentException e) { 149 * throws IllegalArgumentException when provider is null; 154 NoSuchProviderException, IllegalArgumentException, 175 fail("IllegalArgumentException must be thrown when provider is null (algorithm: " 177 } catch (IllegalArgumentException e) [all...] |
/libcore/xml/src/main/java/org/xmlpull/v1/ |
XmlSerializer.java | 19 * <li><em>IllegalArgumentException</em> - for almost all methods to signal that 50 throws IllegalArgumentException, IllegalStateException; 59 * @exception IllegalArgumentException if feature string is null 78 throws IllegalArgumentException, IllegalStateException; 95 throws IOException, IllegalArgumentException, IllegalStateException; 102 throws IOException, IllegalArgumentException, IllegalStateException; 110 throws IOException, IllegalArgumentException, IllegalStateException; 118 throws IOException, IllegalArgumentException, IllegalStateException; 136 * @param prefix must be not null (or IllegalArgumentException is thrown) 140 throws IOException, IllegalArgumentException, IllegalStateException [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
TreeMapExtendTest.java | 600 fail("should throw IllegalArgumentException"); 601 } catch (IllegalArgumentException e) { 607 fail("should throw IllegalArgumentException"); 608 } catch (IllegalArgumentException e) { 614 fail("should throw IllegalArgumentException"); 615 } catch (IllegalArgumentException e) { 621 fail("should throw IllegalArgumentException"); 622 } catch (IllegalArgumentException e) { 628 fail("should throw IllegalArgumentException"); 629 } catch (IllegalArgumentException e) [all...] |
/external/guava/guava-tests/test/com/google/common/math/ |
IntMathTest.java | 125 fail("Expected IllegalArgumentException"); 126 } catch (IllegalArgumentException expected) {} 135 fail("Expected IllegalArgumentException"); 136 } catch (IllegalArgumentException expected) {} 169 fail("Expected IllegalArgumentException"); 170 } catch (IllegalArgumentException expected) {} 180 fail("Expected IllegalArgumentException"); 181 } catch (IllegalArgumentException expected) {} 234 fail("Expected IllegalArgumentException"); 235 } catch (IllegalArgumentException expected) { [all...] |
/frameworks/base/media/java/android/media/ |
MediaMetadataEditor.java | 206 throws IllegalArgumentException { 212 throw(new IllegalArgumentException("Invalid type 'String' for key "+ key)); 232 * @throws IllegalArgumentException 235 throws IllegalArgumentException { 241 throw(new IllegalArgumentException("Invalid type 'long' for key "+ key)); 255 * @throws IllegalArgumentException 259 throws IllegalArgumentException { 265 throw(new IllegalArgumentException("Invalid type 'Bitmap' for key "+ key)); 287 * @throws IllegalArgumentException 290 throws IllegalArgumentException { [all...] |
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioMixingRule.java | 257 * @throws IllegalArgumentException 262 throws IllegalArgumentException { 264 throw new IllegalArgumentException("Illegal rule value " + rule); 286 * @throws IllegalArgumentException 291 throws IllegalArgumentException { 293 throw new IllegalArgumentException("Illegal rule value " + rule); 308 * @throws IllegalArgumentException 312 public Builder addMixRule(int rule, Object property) throws IllegalArgumentException { 314 throw new IllegalArgumentException("Illegal rule value " + rule); 339 * @throws IllegalArgumentException [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
ZipEntryTest.java | 65 } catch (IllegalArgumentException e) { 66 fail("Unexpected IllegalArgumentException During Test."); 71 fail("IllegalArgumentException not thrown"); 72 } catch (IllegalArgumentException e) { 217 } catch (IllegalArgumentException e) { 218 fail("Unexpected IllegalArgumentException During Test."); 223 fail("IllegalArgumentException not thrown"); 224 } catch (IllegalArgumentException e) { 258 fail("IllegalArgumentException not thrown"); 259 } catch (IllegalArgumentException e) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/ |
ChiSquareTest.java | 47 * <code>IllegalArgumentException</code> is thrown.</p> 52 * @throws IllegalArgumentException if preconditions are not met 55 throws IllegalArgumentException; 78 * <code>IllegalArgumentException</code> is thrown.</p> 83 * @throws IllegalArgumentException if preconditions are not met 87 throws IllegalArgumentException, MathException; 111 * <code>IllegalArgumentException</code> is thrown.</p> 118 * @throws IllegalArgumentException if preconditions are not met 122 throws IllegalArgumentException, MathException; 144 * <code>IllegalArgumentException</code> is thrown.</p [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/transform/ |
FastCosineTransformer.java | 61 * @throws IllegalArgumentException if any parameters are invalid 63 public double[] transform(double f[]) throws IllegalArgumentException { 81 * @throws IllegalArgumentException if any parameters are invalid 85 throws FunctionEvaluationException, IllegalArgumentException { 99 * @throws IllegalArgumentException if any parameters are invalid 101 public double[] transform2(double f[]) throws IllegalArgumentException { 122 * @throws IllegalArgumentException if any parameters are invalid 126 throws FunctionEvaluationException, IllegalArgumentException { 142 * @throws IllegalArgumentException if any parameters are invalid 144 public double[] inversetransform(double f[]) throws IllegalArgumentException { [all...] |
FastSineTransformer.java | 60 * @throws IllegalArgumentException if any parameters are invalid 63 throws IllegalArgumentException { 80 * @throws IllegalArgumentException if any parameters are invalid 84 throws FunctionEvaluationException, IllegalArgumentException { 99 * @throws IllegalArgumentException if any parameters are invalid 101 public double[] transform2(double f[]) throws IllegalArgumentException { 120 * @throws IllegalArgumentException if any parameters are invalid 124 throws FunctionEvaluationException, IllegalArgumentException { 140 * @throws IllegalArgumentException if any parameters are invalid 142 public double[] inversetransform(double f[]) throws IllegalArgumentException { [all...] |
/external/apache-http/src/org/apache/http/params/ |
HttpProtocolParams.java | 73 throw new IllegalArgumentException("HTTP parameters may not be null"); 89 throw new IllegalArgumentException("HTTP parameters may not be null"); 101 throw new IllegalArgumentException("HTTP parameters may not be null"); 118 throw new IllegalArgumentException("HTTP parameters may not be null"); 130 throw new IllegalArgumentException("HTTP parameters may not be null"); 148 throw new IllegalArgumentException("HTTP parameters may not be null"); 155 throw new IllegalArgumentException("HTTP parameters may not be null"); 162 throw new IllegalArgumentException("HTTP parameters may not be null"); 169 throw new IllegalArgumentException("HTTP parameters may not be null"); 177 throw new IllegalArgumentException("HTTP parameters may not be null") [all...] |
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/ |
BigIntegerMathTest.java | 61 fail("Expected IllegalArgumentException"); 62 } catch (IllegalArgumentException expected) {} 70 fail("Expected IllegalArgumentException"); 71 } catch (IllegalArgumentException expected) {} 165 fail("Expected IllegalArgumentException"); 166 } catch (IllegalArgumentException expected) {} 190 fail("Expected IllegalArgumentException"); 191 } catch (IllegalArgumentException expected) {} 194 fail("Expected IllegalArgumentException"); 195 } catch (IllegalArgumentException expected) { [all...] |
LongMathTest.java | 63 fail("Expected IllegalArgumentException"); 64 } catch (IllegalArgumentException expected) {} 73 fail("Expected IllegalArgumentException"); 74 } catch (IllegalArgumentException expected) {} 136 fail("Expected IllegalArgumentException"); 137 } catch (IllegalArgumentException expected) {} 140 fail("Expected IllegalArgumentException"); 141 } catch (IllegalArgumentException expected) {} 149 fail("Expected IllegalArgumentException"); 150 } catch (IllegalArgumentException expected) { [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
TypeResolverTest.java | 86 } catch (IllegalArgumentException expected) {} 140 } catch (IllegalArgumentException expected) {} 147 } catch (IllegalArgumentException expected) {} 156 } catch (IllegalArgumentException expected) {} 165 } catch (IllegalArgumentException expected) {} 174 } catch (IllegalArgumentException expected) {} 183 } catch (IllegalArgumentException expected) {} 190 } catch (IllegalArgumentException expected) {} 197 } catch (IllegalArgumentException expected) {} 204 } catch (IllegalArgumentException expected) { [all...] |
/frameworks/base/core/java/android/hardware/display/ |
BrightnessConfiguration.java | 157 * @throws IllegalArgumentException if the initial control point is not at 0 lux. 158 * @throws IllegalArgumentException if the lux levels are not strictly increasing. 159 * @throws IllegalArgumentException if the nit levels are not monotonically increasing. 172 * @throws IllegalArgumentException if the initial control point is not at 0 lux. 173 * @throws IllegalArgumentException if the lux levels are not strictly increasing. 174 * @throws IllegalArgumentException if the nit levels are not monotonically increasing. 183 throw new IllegalArgumentException("Lux and nits arrays must not be empty"); 186 throw new IllegalArgumentException("Lux and nits arrays must be the same length"); 189 throw new IllegalArgumentException("Initial control point must be for 0 lux"); 231 throw new IllegalArgumentException(name + " values must be " + condition) [all...] |
/libcore/luni/src/test/java/libcore/dalvik/system/ |
EmulatedStackFrameTest.java | 126 } catch (IllegalArgumentException expected) { 132 } catch (IllegalArgumentException expected) { 140 } catch (IllegalArgumentException expected) { 149 } catch (IllegalArgumentException expected) { 155 } catch (IllegalArgumentException expected) { 163 } catch (IllegalArgumentException expected) { 178 } catch (IllegalArgumentException expected) { 188 } catch (IllegalArgumentException expected) { 198 } catch (IllegalArgumentException expected) { 208 } catch (IllegalArgumentException expected) [all...] |