/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
PmPermissionsTests.java | 46 "did not throw SecurityException as expected"); 61 "did not throw SecurityException as expected"); 76 "did not throw SecurityException as expected"); 91 "did not throw SecurityException as expected"); 106 " did not throw SecurityException as expected"); 121 "did not throw SecurityException as expected"); 136 "did not throw SecurityException as expected");
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
BridgeResources.java | 130 // id was not found or not resolved. Throw a NotFoundException. 149 // id was not found or not resolved. Throw a NotFoundException. 169 // id was not found or not resolved. Throw a NotFoundException. 184 // id was not found or not resolved. Throw a NotFoundException. 216 // id was not found or not resolved. Throw a NotFoundException. 230 throw new UnsupportedOperationException(); 256 // id was not found or not resolved. Throw a NotFoundException. 278 // id was not found or not resolved. Throw a NotFoundException. 300 // id was not found or not resolved. Throw a NotFoundException. 325 // id was not found or not resolved. Throw a NotFoundException [all...] |
BridgeXmlBlockParser.java | 83 throw new XmlPullParserException("Unsupported feature: " + name); 97 throw new XmlPullParserException("setProperty() not supported"); 115 throw new XmlPullParserException( 120 throw new XmlPullParserException("getNamespacePrefix() not supported"); 128 throw new RuntimeException("getNamespace() not supported"); 132 throw new XmlPullParserException("getNamespaceCount() not supported"); 140 throw new XmlPullParserException("getNamespaceUri() not supported"); 169 throw new RuntimeException("getPrefix not supported"); 201 throw new RuntimeException("getAttributePrefix not supported"); 260 throw new XmlPullParserException("expected " + TYPES[type [all...] |
/packages/apps/IM/src/com/android/im/imps/ |
WbxmlSerializer.java | 44 throw new IllegalArgumentException("Unsupported IMPS version"); 47 throw new OutOfMemoryError(); 67 // XXX: These should throw ParserException but the dalvik seems to have 75 throw new SerializerException(e); 83 throw new SerializerException(e); 91 throw new SerializerException(e); 112 // FIXME: These should throw ParserException but the dalvik seems to have
|
PtsPrimitiveParser.java | 69 throw new ParserException("Invalid PTS encoded message"); 79 throw new ParserException("Unrecognized transaction code " + type); 146 throw new ParserException("Parameter " + elemCode + " must have value."); 165 throw new ParserException("Element SessionID must have string value!"); 212 throw new ParserException("Deafult Contact List must have string value!"); 232 throw new ParserException("Null value found for NickName: " + nickname 257 throw new ParserException("Null value found for property: " + name + "-" + value); 265 throw new ParserException("Unrecognized property " + name); 314 throw new ParserException("Unsupported element " + elemValue); 324 throw new ParserException("UserID must have string value!") [all...] |
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/png/ |
PNGImageWriter.java | 101 throw new NotImplementedException(); 106 throw new NotImplementedException(); 111 throw new NotImplementedException(); 116 throw new NotImplementedException(); 122 throw new IllegalStateException("Output not been set"); 125 throw new IllegalArgumentException("Image equals null"); 129 // throw new UnsupportedOperationException("Can't write raster"); 169 throw new IllegalArgumentException(Messages.getString("imageio.1"));//$NON-NLS-1$ 173 throw new IllegalArgumentException(Messages.getString("imageio.1"));//$NON-NLS-1$ 184 throw new IllegalArgumentException(Messages.getString("imageio.1"));//$NON-NLS-1 [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
HttpRequestExecutor.java | 109 throw new IllegalArgumentException("HTTP request may not be null"); 112 throw new IllegalArgumentException("Client connection may not be null"); 115 throw new IllegalArgumentException("HTTP context may not be null"); 126 throw ex; 129 throw ex; 132 throw ex; 152 throw new IllegalArgumentException("HTTP request may not be null"); 155 throw new IllegalArgumentException("HTTP processor may not be null"); 158 throw new IllegalArgumentException("HTTP context may not be null"); 189 throw new IllegalArgumentException("HTTP request may not be null") [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
DomainNameValidatorTest.java | 273 throw new RuntimeException("Method not implemented"); 279 throw new RuntimeException("Method not implemented"); 284 throw new RuntimeException("Method not implemented"); 289 throw new RuntimeException("Method not implemented"); 294 throw new RuntimeException("Method not implemented"); 299 throw new RuntimeException("Method not implemented"); 304 throw new RuntimeException("Method not implemented"); 309 throw new RuntimeException("Method not implemented"); 314 throw new RuntimeException("Method not implemented"); 319 throw new RuntimeException("Method not implemented") [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
ScannerTest.java | 78 throw new IOException(); 82 throw new EOFException(); 105 fail("should throw FileNotFoundException"); 120 fail("Should throw NullPointerException"); 147 fail("should throw FileNotFoundException"); 154 fail("should throw FileNotFoundException"); 162 fail("should throw IllegalArgumentException"); 174 fail("Should throw NullPointerException"); 182 fail("Should throw NullPointerException"); 190 fail("Should throw NullPointerException") [all...] |
/frameworks/base/core/java/android/net/ |
LocalSocketImpl.java | 68 if (myFd == null) throw new IOException("socket closed"); 86 if (myFd == null) throw new IOException("socket closed"); 89 throw new ArrayIndexOutOfBoundsException(); 121 if (myFd == null) throw new IOException("socket closed"); 124 throw new ArrayIndexOutOfBoundsException(); 135 if (myFd == null) throw new IOException("socket closed"); 235 throw new IOException("socket not created"); 251 throw new IOException("socket not created"); 260 throw new IOException("socket not created"); 276 throw new IOException("socket not created") [all...] |
/dalvik/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTest.java | 42 throw new NullPointerException("factory"); 90 // throw new DOMTestLoadException(ex); 121 throw new DOMTestLoadException(ex); 126 throw new DOMTestLoadException( 135 throw new NullPointerException("scheme"); 153 throw new DOMTestLoadException(new Exception("Unrecognized URI scheme " + 159 throw new NullPointerException("scheme"); 181 throw new DOMTestLoadException(ex); 196 throw new DOMTestLoadException(new Exception("Unrecognized URI scheme " + 219 throw DOMTestIncompatibleException.incompatibleLoad(docURI, contentType) [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xpath/jaxp/ |
JAXPExtensionsProvider.java | 71 throw new NullPointerException ( fmsg ); 108 throw new NullPointerException ( fmsg ); 115 // throw XPathFunctionException 120 throw new XPathFunctionException ( fmsg ); 150 throw new org.apache.xml.utils.WrappedRuntimeException ( xfe ); 152 throw new javax.xml.transform.TransformerException ( e ); 172 // throw XPathFunctionException 176 throw new XPathFunctionException ( fmsg ); 202 throw new org.apache.xml.utils.WrappedRuntimeException ( xfe ); 204 throw new javax.xml.transform.TransformerException ( e ) [all...] |
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/ |
HandlerBaseTest.java | 52 throw new RuntimeException(e); 92 throw new RuntimeException(e); 105 throw new RuntimeException(e); 118 throw new RuntimeException(e); 131 throw new RuntimeException(e); 144 throw new RuntimeException(e); 157 throw new RuntimeException(e); 170 throw new RuntimeException(e); 183 throw new RuntimeException(e); 196 throw new RuntimeException(e) [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicDomainHandler.java | 48 throw new IllegalArgumentException("Cookie may not be null"); 51 throw new MalformedCookieException("Missing value for domain attribute"); 54 throw new MalformedCookieException("Blank value for domain attribute"); 62 throw new IllegalArgumentException("Cookie may not be null"); 65 throw new IllegalArgumentException("Cookie origin may not be null"); 75 throw new MalformedCookieException("Cookie domain may not be null"); 87 throw new MalformedCookieException( 94 throw new MalformedCookieException( 103 throw new IllegalArgumentException("Cookie may not be null"); 106 throw new IllegalArgumentException("Cookie origin may not be null") [all...] |
RFC2965DomainAttributeHandler.java | 62 throw new IllegalArgumentException("Cookie may not be null"); 65 throw new MalformedCookieException( 69 throw new MalformedCookieException( 112 throw new IllegalArgumentException("Cookie may not be null"); 115 throw new IllegalArgumentException("Cookie origin may not be null"); 119 throw new MalformedCookieException("Invalid cookie state: " + 128 throw new MalformedCookieException("Domain attribute \"" + 137 throw new MalformedCookieException( 145 throw new MalformedCookieException( 155 throw new MalformedCookieException("Domain attribute \" [all...] |
/external/apache-http/src/org/apache/http/params/ |
HttpProtocolParams.java | 68 throw new IllegalArgumentException("HTTP parameters may not be null"); 84 throw new IllegalArgumentException("HTTP parameters may not be null"); 96 throw new IllegalArgumentException("HTTP parameters may not be null"); 113 throw new IllegalArgumentException("HTTP parameters may not be null"); 125 throw new IllegalArgumentException("HTTP parameters may not be null"); 143 throw new IllegalArgumentException("HTTP parameters may not be null"); 150 throw new IllegalArgumentException("HTTP parameters may not be null"); 157 throw new IllegalArgumentException("HTTP parameters may not be null"); 164 throw new IllegalArgumentException("HTTP parameters may not be null"); 172 throw new IllegalArgumentException("HTTP parameters may not be null") [all...] |
/external/apache-http/src/org/apache/http/util/ |
EncodingUtils.java | 66 throw new IllegalArgumentException("Parameter may not be null"); 70 throw new IllegalArgumentException("charset may not be null or empty"); 92 throw new IllegalArgumentException("Parameter may not be null"); 108 throw new IllegalArgumentException("data may not be null"); 112 throw new IllegalArgumentException("charset may not be null or empty"); 131 throw new IllegalArgumentException("Parameter may not be null"); 137 throw new Error("HttpClient requires ASCII support"); 154 throw new IllegalArgumentException("Parameter may not be null"); 160 throw new Error("HttpClient requires ASCII support"); 174 throw new IllegalArgumentException("Parameter may not be null") [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProvider.java | 120 throw new UnsupportedOperationException("query not supported"); 132 throw new IllegalArgumentException("Unknown URL"); 150 throw new FileNotFoundException("Error reading " + url + ":" + ex.toString()); 158 throw new FileNotFoundException("No files supported by provider at " + url); 165 throw new FileNotFoundException("Mode " + mode + " not supported for " + url); 170 if (file == null) throw new FileNotFoundException("No such entry: " + url); 176 throw new FileNotFoundException("Error reading " + url + ":" + ex.toString()); 199 throw new UnsupportedOperationException("update not supported"); 204 throw new UnsupportedOperationException("insert not supported"); 209 throw new UnsupportedOperationException("delete not supported") [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/address/ |
Builder.java | 88 throw new IllegalStateException();
92 throw new IllegalStateException();
106 throw new IllegalStateException();
124 throw new IllegalStateException();
136 throw new IllegalStateException();
145 throw new IllegalStateException();
160 throw new IllegalStateException();
165 throw new IllegalStateException();
176 throw new IllegalStateException();
228 throw new UnsupportedOperationException(); [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
OffsettedItem.java | 74 throw new IllegalArgumentException("writeSize < -1"); 138 throw new IllegalArgumentException("writeSize < 0"); 142 throw new UnsupportedOperationException("writeSize already set"); 156 throw new UnsupportedOperationException("writeSize is unknown"); 169 throw new UnsupportedOperationException( 174 throw ExceptionWithContext.withContext(ex, 190 throw new RuntimeException("offset not yet known"); 205 throw new RuntimeException("offset not yet known"); 225 throw new NullPointerException("addedTo == null"); 229 throw new IllegalArgumentException("offset < 0") [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCertPathBuilderSpi.java | 38 throw new InvalidAlgorithmParameterException("params must be a PKIXBuilderParameters instance"); 55 throw new CertPathBuilderException("targetCertConstraints must be non-null for CertPath building"); 64 throw new CertPathBuilderException(e); 69 throw new CertPathBuilderException("no certificate found matching targetCertContraints"); 82 throw new CertPathBuilderException("exception creating support classes: " + e); 149 throw new CertPathBuilderException("found certificate chain, but could not be validated", certPathException); 152 throw new CertPathBuilderException("unable to find certificate chain"); 188 throw new CertPathBuilderException("can't get trust anchor principal",null); 247 throw new CertPathBuilderException("TrustAnchor found put certificate validation failed",invalidKeyEx); 313 throw new CertPathValidatorException("Issuer not found", null, null, -1) [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
X509V3CertificateGenerator.java | 73 throw new IllegalArgumentException("serial number must be a positive integer"); 92 throw new IllegalArgumentException("can't process principal: " + e); 130 throw new IllegalArgumentException("can't process principal: " + e); 153 throw new IllegalArgumentException("unable to process key - " + e.toString()); 174 throw new IllegalArgumentException("Unknown signature type requested: " + signatureAlgorithm); 216 throw new IllegalArgumentException("error encoding value: " + e); 268 throw new CertificateParsingException("extension " + oid + " not present"); 279 throw new CertificateParsingException(e.toString()); 311 throw new SecurityException("BC provider not installed!"); 331 throw new SecurityException("BC provider not installed!") [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/ |
ExpatReader.java | 71 throw new NullPointerException("name"); 90 throw new SAXNotRecognizedException(name); 96 throw new NullPointerException("name"); 101 throw new SAXNotSupportedException("Cannot enable " + name); 123 throw new SAXNotSupportedException("Cannot disable " + name); 127 throw new SAXNotRecognizedException(name); 133 throw new NullPointerException("name"); 140 throw new SAXNotRecognizedException(name); 146 throw new NullPointerException("name"); 155 throw new SAXNotSupportedException("value doesn't implement " [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/xalan/transformer/ |
MsgMgr.java | 74 throw new TransformerException(msg, srcLctr); 157 * Tell the user of an error, and probably throw an 178 throw new TransformerException(msg, srcLctr); 185 * Tell the user of an error, and probably throw an 201 * Tell the user of an error, and probably throw an 218 * Tell the user of an error, and probably throw an 222 * @param e Exception to throw 235 * Tell the user of an error, and probably throw an 240 * @param e Exception to throw 262 throw new TransformerException(formattedMsg, srcLctr) [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultClientConnectionOperator.java | 85 throw new IllegalArgumentException 107 throw new IllegalArgumentException 111 throw new IllegalArgumentException 117 throw new IllegalArgumentException 121 throw new IllegalArgumentException 178 throw new HttpHostConnectException(target, ex); 182 throw ex; 198 throw new IllegalArgumentException 202 throw new IllegalArgumentException 207 throw new IllegalArgumentExceptio [all...] |