/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pProvDiscEvent.java | 61 public WifiP2pProvDiscEvent(String string) throws IllegalArgumentException { 65 throw new IllegalArgumentException("Malformed event " + string); 72 else throw new IllegalArgumentException("Malformed event " + string);
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
RtpStream.java | 128 * @throws IllegalArgumentException if the mode is invalid. 137 throw new IllegalArgumentException("Invalid mode"); 148 * @throws IllegalArgumentException if the address is not supported or the 159 throw new IllegalArgumentException("Unsupported address"); 162 throw new IllegalArgumentException("Invalid port");
|
/libcore/luni/src/main/java/java/util/logging/ |
SocketHandler.java | 72 * @throws IllegalArgumentException 94 * @throws IllegalArgumentException 106 throw new IllegalArgumentException("host == null || host.isEmpty()"); 113 throw new IllegalArgumentException("Illegal port argument"); 116 throw new IllegalArgumentException("Illegal port argument");
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDate.java | 36 import java.lang.IllegalArgumentException; 379 * @throws IllegalArgumentException if w is not a valid day. 381 public void setWkday(String w) throws IllegalArgumentException { 398 throw new IllegalArgumentException("Illegal Week day :" + w); 405 * @throws IllegalArgumentException if d is not a valid day 407 public void setDay(int d) throws IllegalArgumentException { 409 throw new IllegalArgumentException( 417 * @throws IllegalArgumentException if m is not a valid month 419 public void setMonth(String m) throws IllegalArgumentException { 446 throw new IllegalArgumentException("Illegal Month :" + m) [all...] |
/frameworks/base/core/java/android/view/ |
SurfaceControl.java | 220 throw new IllegalArgumentException("session must not be null"); 223 throw new IllegalArgumentException("name must not be null"); 443 throw new IllegalArgumentException("displayToken must not be null"); 450 throw new IllegalArgumentException("displayToken must not be null"); 457 throw new IllegalArgumentException("displayToken must not be null"); 460 throw new IllegalArgumentException("outInfo must not be null"); 468 throw new IllegalArgumentException("displayToken must not be null"); 471 throw new IllegalArgumentException("layerStackRect must not be null"); 474 throw new IllegalArgumentException("displayRect must not be null"); 483 throw new IllegalArgumentException("displayToken must not be null") [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
RC2ParameterSpecTest.java | 24 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...] |
RC5ParameterSpecTest.java | 39 * testing. Tests that IllegalArgumentException is thrown in the case of 51 fail("An IllegalArgumentException should be thrown " 53 } catch (IllegalArgumentException e) { 58 fail("An IllegalArgumentException should be thrown " 60 } catch (IllegalArgumentException e) { 65 fail("An IllegalArgumentException should be thrown " 67 } catch (IllegalArgumentException e) { 80 * offset) method testing. Tests that IllegalArgumentException is thrown in 93 fail("An IllegalArgumentException should be thrown " 95 } catch (IllegalArgumentException e) [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
RFC2965DomainAttributeHandler.java | 62 throw new IllegalArgumentException("Cookie may not be null"); 112 throw new IllegalArgumentException("Cookie may not be null"); 115 throw new IllegalArgumentException("Cookie origin may not be null"); 176 throw new IllegalArgumentException("Cookie may not be null"); 179 throw new IllegalArgumentException("Cookie origin may not be null");
|
RFC2965PortAttributeHandler.java | 108 throw new IllegalArgumentException("Cookie may not be null"); 126 throw new IllegalArgumentException("Cookie may not be null"); 129 throw new IllegalArgumentException("Cookie origin may not be null"); 149 throw new IllegalArgumentException("Cookie may not be null"); 152 throw new IllegalArgumentException("Cookie origin may not be null");
|
/external/apache-http/src/org/apache/http/util/ |
EntityUtils.java | 62 throw new IllegalArgumentException("HTTP entity may not be null"); 69 throw new IllegalArgumentException("HTTP entity too large to be buffered in memory"); 92 throw new IllegalArgumentException("HTTP entity may not be null"); 110 throw new IllegalArgumentException("HTTP entity may not be null"); 117 throw new IllegalArgumentException("HTTP entity too large to be buffered in memory");
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
DHDomainParameters.java | 37 throw new IllegalArgumentException("Invalid DHDomainParameters: " 46 throw new IllegalArgumentException("'p' cannot be null"); 50 throw new IllegalArgumentException("'g' cannot be null"); 54 throw new IllegalArgumentException("'q' cannot be null"); 68 throw new IllegalArgumentException("Bad sequence size: " + seq.size());
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
BlockCipherFactory.java | 91 throw new IllegalArgumentException("Cannot instantiate " + type); 95 throw new IllegalArgumentException("Cannot instantiate " + type, e); 99 throw new IllegalArgumentException("Cannot instantiate " + type, e); 103 throw new IllegalArgumentException("Cannot instantiate " + type, e); 116 throw new IllegalArgumentException("Unkown algorithm " + type);
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
ByteArray.java | 58 throw new IllegalArgumentException("start < 0"); 62 throw new IllegalArgumentException("end < start"); 66 throw new IllegalArgumentException("end > bytes.length"); 112 * @throws IllegalArgumentException thrown if <code>bytes</code> is 117 throw new IllegalArgumentException("wrong bytes"); 227 throw new IllegalArgumentException("bad range: " + s + ".." + e +
|
/frameworks/base/core/java/com/android/internal/util/ |
FastXmlSerializer.java | 167 IllegalArgumentException, IllegalStateException { 182 public void cdsect(String text) throws IOException, IllegalArgumentException, 187 public void comment(String text) throws IOException, IllegalArgumentException, 192 public void docdecl(String text) throws IOException, IllegalArgumentException, 197 public void endDocument() throws IOException, IllegalArgumentException, IllegalStateException { 202 IllegalArgumentException, IllegalStateException { 223 public void entityRef(String text) throws IOException, IllegalArgumentException, 280 throws IllegalArgumentException { 288 public void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, 293 public void processingInstruction(String text) throws IOException, IllegalArgumentException, [all...] |
/frameworks/base/graphics/java/android/graphics/ |
RadialGradient.java | 53 throw new IllegalArgumentException("radius must be > 0"); 56 throw new IllegalArgumentException("needs >= 2 number of colors"); 59 throw new IllegalArgumentException("color and position arrays must be of equal length"); 84 throw new IllegalArgumentException("radius must be > 0"); 113 throw new IllegalArgumentException("RadialGradient should be created with either " +
|
/frameworks/base/media/java/android/media/videoeditor/ |
MediaVideoItem.java | 121 throw new IllegalArgumentException(e.getMessage() + " : " + filename); 133 throw new IllegalArgumentException( 141 throw new IllegalArgumentException( 145 throw new IllegalArgumentException( 155 throw new IllegalArgumentException("Unsupported Input File Type"); 165 throw new IllegalArgumentException("Unsupported Video Codec Format in Input File"); 208 * @throws IllegalArgumentException if the start time is greater or equal than 214 throw new IllegalArgumentException("setExtractBoundaries: Invalid start time"); 218 throw new IllegalArgumentException("setExtractBoundaries: Invalid end time"); 222 throw new IllegalArgumentException("setExtractBoundaries: Start time is greater than end time") [all...] |
/libcore/luni/src/main/java/javax/xml/namespace/ |
QName.java | 130 * <code>IllegalArgumentException</code> is thrown. 172 * <code>IllegalArgumentException</code> is thrown. 177 * <code>IllegalArgumentException</code> is thrown. Use {@link 204 throw new IllegalArgumentException("local part cannot be \"null\" when creating a QName"); 210 throw new IllegalArgumentException("prefix cannot be \"null\" when creating a QName"); 219 * <code>IllegalArgumentException</code> is thrown. 390 * <code>IllegalArgumentException</code> is thrown.</p> 427 throw new IllegalArgumentException("cannot create QName from \"null\" or \"\" String"); 448 throw new IllegalArgumentException( 459 throw new IllegalArgumentException( [all...] |
/libcore/luni/src/main/java/javax/xml/validation/ |
SchemaFactory.java | 155 * <p>If everything fails, {@link IllegalArgumentException} will be thrown.</p> 174 * @throws IllegalArgumentException 192 throw new IllegalArgumentException(schemaLanguage); 200 * @throws IllegalArgumentException if {@code factoryClassName} is not available, cannot be 220 throw new IllegalArgumentException(schemaLanguage); 224 throw new IllegalArgumentException(e); 226 throw new IllegalArgumentException(e); 228 throw new IllegalArgumentException(e); 241 * @throws IllegalArgumentException If <code>schemaLanguage.length() == 0</code> 623 * @throws IllegalArgumentException [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldDecimalFormatTestICU.java | 58 fail("expected IllegalArgumentException was not thrown for " 60 } catch (IllegalArgumentException e) { 66 fail("expected IllegalArgumentException was not thrown for " 68 } catch (IllegalArgumentException e) { 91 fail("expected IllegalArgumentException was not thrown for" 93 } catch (IllegalArgumentException e) { 99 fail("expected IllegalArgumentException was not thrown for " 101 } catch (IllegalArgumentException e) { 128 fail("expected IllegalArgumentException was not thrown for " 130 } catch (IllegalArgumentException e) [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...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
MessageListAdapter.java | 372 } catch (IllegalArgumentException e) { 378 } catch (IllegalArgumentException e) { 384 } catch (IllegalArgumentException e) { 390 } catch (IllegalArgumentException e) { 396 } catch (IllegalArgumentException e) { 402 } catch (IllegalArgumentException e) { 408 } catch (IllegalArgumentException e) { 414 } catch (IllegalArgumentException e) { 420 } catch (IllegalArgumentException e) { 426 } catch (IllegalArgumentException e) [all...] |
/libcore/luni/src/main/java/java/net/ |
DatagramSocket.java | 102 throw new IllegalArgumentException("Port out of range: " + aPort); 269 throw new IllegalArgumentException("Packet address mismatch with connected address"); 309 throw new IllegalArgumentException("size < 1"); 320 throw new IllegalArgumentException("size < 1"); 339 throw new IllegalArgumentException("timeout < 0"); 386 * @throws IllegalArgumentException 394 throw new IllegalArgumentException("Local address not an InetSocketAddress: " + 434 * @throws IllegalArgumentException 446 throw new IllegalArgumentException("Local address not an InetSocketAddress: " + 470 throw new IllegalArgumentException("peer == null") [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
ShortName.java | 54 throw new IllegalArgumentException("name too long"); 122 * @throws IllegalArgumentException if the specified name can not be parsed 126 public static ShortName get(String name) throws IllegalArgumentException { 147 } catch (IllegalArgumentException ex) { 202 throw new IllegalArgumentException(strType + 205 throw new IllegalArgumentException(strType + 209 throw new IllegalArgumentException(strType + 242 * @throws IllegalArgumentException if invalid chars are contained 245 throws IllegalArgumentException { 248 throw new IllegalArgumentException( [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/ |
KerberosPrincipalTest.java | 54 fail("No expected IllegalArgumentException for null"); 55 } catch (IllegalArgumentException e) { 68 fail("No expected IllegalArgumentException for: " + illegalName); 69 } catch (IllegalArgumentException e) { 95 fail("No expected IllegalArgumentException for null"); 96 } catch (IllegalArgumentException e) { 102 fail("No expected IllegalArgumentException for -1 nameType value"); 103 } catch (IllegalArgumentException e) { 109 fail("No expected IllegalArgumentException 6 nameType value"); 110 } catch (IllegalArgumentException e) [all...] |
/frameworks/base/graphics/java/android/graphics/pdf/ |
PdfDocument.java | 119 throw new IllegalArgumentException("page cannot be null"); 142 throw new IllegalArgumentException("page cannot be null"); 173 throw new IllegalArgumentException("out cannot be null!"); 330 throw new IllegalArgumentException("page width must be positive"); 333 throw new IllegalArgumentException("page width must be positive"); 336 throw new IllegalArgumentException("pageNumber must be non negative"); 355 throw new IllegalArgumentException("contentRect does not fit the page");
|