| /external/chromium_org/tools/grit/grit/ |
| tclib.py | 13 from grit import exception namespace 221 raise exception.InvalidPlaceholderName(presentation)
|
| /external/chromium_org/v8/test/mjsunit/ |
| strict-mode-implicit-receiver.js | 42 var exception = false; 43 try { strict_get_y(); } catch(e) { exception = true; } 44 assertTrue(exception); 54 var exception = false; 58 exception = true; 60 assertTrue(exception); 69 var exception = false; variable 76 exception = true; 78 assertTrue(exception);
|
| /external/emma/core/java12/com/vladium/util/exception/ |
| ExceptionCommon.java | 9 package com.vladium.util.exception; 45 * it possible to extend the set of exception error codes across independently 84 * @throws Error if 'namespace' does not correspond to an exception class derived 95 // bail out if the some other exception hierarchy attempts 122 // ignored intentionally: if the exception codes rb is absent, 241 * Provides support for lookup of exception error codes from {@link AbstractException} 248 * @param code the message string value that was passed into exception 293 * Provides support for lookup of exception error codes from {@link AbstractException} 300 * @param code the message string value that was passed into exception 462 private static final String NESTED_THROWABLE_HEADER = "[NESTED EXCEPTION]:" [all...] |
| /external/fdlibm/ |
| fdlibm.h | 75 struct exception { struct 156 extern int ieee_matherr __P((struct exception *));
|
| /external/guava/guava/src/com/google/common/util/concurrent/ |
| AbstractFuture.java | 181 * @param throwable the exception that the task failed with. 226 private Throwable exception; field in class:AbstractFuture.Sync 281 * on success, an exception on failure, a cancellation on cancellation, or 288 if (exception != null) { 289 throw new ExecutionException(exception); 325 * Transition to the COMPLETED state and set the exception. 346 * @param t the exception to set as the result of the computation. 354 // and exception and then release to the final state. 356 this.exception = t;
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| AbstractIteratorTest.java | 73 fail("no exception thrown"); 160 public void testSneakyThrow() throws Exception { 174 // The first time, the sneakily-thrown exception comes out 177 fail("No exception thrown"); 178 } catch (Exception e) { 187 fail("No exception thrown"); 193 final SomeUncheckedException exception = new SomeUncheckedException(); local 196 throw exception; 203 fail("No exception thrown"); 205 assertSame(exception, e) [all...] |
| /external/objenesis/tck/test/org/objenesis/tck/ |
| TCKTest.java | 147 public void exception(Exception exception) { method in class:TCKTest.RecordingReporter 148 log.append("exception()\n");
|
| /frameworks/base/core/tests/utillib/src/android/test/ |
| BandwidthTestCase.java | 118 Throwable exception = null; local 124 exception = null; 127 exception = e.getTargetException(); 130 exception = e; 140 } while ((runCount < tolerance) && (isRepetitive || exception != null)); 142 if (exception != null) { 143 throw exception;
|
| /frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
| AsyncRunner.java | 36 private Exception mException; 40 public Exception exception; field in class:AsyncRunner.RunnerResult 82 } catch (Exception exception) { 83 result.exception = exception; 90 } catch (Exception exception) { 91 result.exception = exception [all...] |
| /frameworks/base/tools/layoutlib/bridge/src/android/view/ |
| BridgeInflater.java | 107 // If the class was not found, we throw the exception directly, because this 111 } catch (Exception e) { 112 // Wrap the real exception in a ClassNotFoundException, so that the calling method 114 ClassNotFoundException exception = new ClassNotFoundException("onCreateView", e); local 115 throw exception; 133 } catch (Exception e2) { 134 // Wrap the real exception in an InflateException so that the calling 136 InflateException exception = new InflateException(); local 138 exception.initCause(e2); 140 exception.initCause(e) [all...] |
| /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
| Main.java | 153 log.exception(e, "Failed to load jar"); 171 log.exception(e, "Failed to load jar");
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| IllegalArgumentExceptionTest.java | 49 Throwable emptyThrowable = new Exception(); 55 Throwable exception = new Exception("msg"); local 56 IllegalArgumentException e = new IllegalArgumentException(exception); 57 assertEquals(exception.getClass().getName() + ": " + "msg", e.getMessage()); 58 assertEquals(exception.getClass().getName(), emptyException.getLocalizedMessage()); 59 assertEquals(exception.getClass().getName(), emptyException.getCause().toString()); 77 public void testSerializationSelf() throws Exception { 84 public void testSerializationCompatibility() throws Exception {
|
| /libcore/xml/src/main/java/org/xmlpull/v1/ |
| XmlPullParserFactory.java | 143 ArrayList<Exception> exceptions = null; 146 exceptions = new ArrayList<Exception>(); 167 ArrayList<Exception> exceptions = null; 170 exceptions = new ArrayList<Exception>(); 191 ArrayList<Exception> exceptions) { 195 XmlPullParserException exception = new XmlPullParserException(message); local 196 for (Exception ex : exceptions) { 197 exception.addSuppressed(ex); 200 return exception;
|
| /packages/services/Telephony/src/com/android/phone/ |
| NetworkQueryService.java | 209 int exception = (ar.exception == null) ? QUERY_OK : QUERY_EXCEPTION; local 210 if (DBG) log("AsyncResult has exception " + exception); 217 cb.onQueryComplete((ArrayList<OperatorInfo>) ar.result, exception);
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
| cgitb.py | 18 Alternatively, if you have caught an exception and want cgitb to display it 173 exception = ['<p>%s: %s' % (strong(pydoc.html.escape(str(etype))), variable 179 exception.append('\n<br>%s%s =\n%s' % (indent, name, value)) 181 return head + ''.join(frames) + ''.join(exception) + ''' 245 exception = ['%s: %s' % (str(etype), str(evalue))] variable 249 exception.append('\n%s%s = %s' % (" "*4, name, value)) 251 return head + ''.join(frames) + ''.join(exception) + ''' 317 """Install an exception handler that formats tracebacks as HTML.
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| cgitb.py | 18 Alternatively, if you have caught an exception and want cgitb to display it 173 exception = ['<p>%s: %s' % (strong(pydoc.html.escape(str(etype))), variable 179 exception.append('\n<br>%s%s =\n%s' % (indent, name, value)) 181 return head + ''.join(frames) + ''.join(exception) + ''' 245 exception = ['%s: %s' % (str(etype), str(evalue))] variable 249 exception.append('\n%s%s = %s' % (" "*4, name, value)) 251 return head + ''.join(frames) + ''.join(exception) + ''' 317 """Install an exception handler that formats tracebacks as HTML.
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
| SSLSessionTest.java | 53 public void test_getPeerHost() throws Exception { 73 public void test_getPeerPrincipal() throws Exception { 147 public void test_getLocalCertificates() throws Exception { 157 public void test_getLocalPrincipal() throws Exception { 175 public void test_getPeerCertificates() throws Exception { 183 public void test_getPeerCertificateChain() throws Exception { 271 protected void setUp() throws Exception { 288 && server.exception == null 289 && client.exception == null) { 296 if (server.exception != null) 488 private Exception exception; field in class:SSLSessionTest.TestServer 571 private Exception exception; field in class:SSLSessionTest.TestClient [all...] |
| /art/runtime/ |
| debugger.h | 61 result_tag(JDWP::JT_VOID), exception(0), 85 JDWP::ObjectId exception; member in struct:art::DebugInvokeReq 511 uint32_t catch_dex_pc, mirror::Throwable* exception)
|
| /art/runtime/interpreter/ |
| interpreter_goto_table_impl.cc | 84 * - when an exception is thrown. 240 Throwable* exception = self->GetException(nullptr); local 241 DCHECK(exception != nullptr) << "No pending exception on MOVE_EXCEPTION instruction"; 242 shadow_frame.SetVRegReference(inst->VRegA_11x(inst_data), exception); 343 // Return the pending exception. 618 Object* exception = shadow_frame.GetVRegReference(inst->VRegA_11x(inst_data)); local 619 if (UNLIKELY(exception == NULL)) { 620 ThrowNullPointerException(NULL, "throw with null exception"); 621 } else if (do_assignability_check && !exception->GetClass()->IsThrowableClass()) [all...] |
| /art/test/401-optimizing-compiler/src/ |
| Main.java | 90 Exception exception = null; local 94 exception = e; 97 if (exception == null) {
|
| /cts/tests/tests/nativeopengl/standalone/jni/ |
| GLTestHelper.cpp | 265 jthrowable exception = env->ExceptionOccurred(); local 267 if (exception) { 272 env->Throw(exception);
|
| /cts/tests/tests/os/src/android/os/cts/ |
| AsyncTaskTest.java | 71 if (mAsyncTask.exception != null) { 72 throw mAsyncTask.exception; 91 fail("Failed to throw exception!"); 108 assertNotNull(mAsyncTask.exception); 109 assertTrue(mAsyncTask.exception instanceof InterruptedException); 121 assertNull(mAsyncTask.exception); 130 assertNull(mAsyncTask.exception); 148 public Exception exception; field in class:AsyncTaskTest.MyAsyncTask 160 } catch (Exception e) [all...] |
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
| SocketTransportWrapper.java | 160 IOException exception = null; local 175 if (exception != null) { 176 throw exception; 235 // workaround for "Socket Closed" exception if connection was closed
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
| InvokeMethod002Test.java | 52 * exception object is null; 263 TaggedObject exception = reply.getNextValueAsTaggedObject(); local 264 assertNotNull("ClassType::InvokeMethod returned null exception", 265 exception); 266 assertEquals("ClassType::InvokeMethod returned invalid exception objectID,", 267 0, exception.objectID); 268 assertEquals("ClassType::InvokeMethod returned invalid exception.tag", 269 JDWPConstants.Tag.OBJECT_TAG, exception.tag, 271 JDWPConstants.Tag.getName(exception.tag)); 272 logWriter.println(" ClassType.InvokeMethod: exception.tag=" + exception.tag [all...] |
| InvokeMethodTest.java | 55 * which should not throw any Exception, and checks, 57 * exception object is null; 59 * which should throw some Exception, and checks, that 60 * returned exception object is not null and has expected attributes; 163 // Make InvokeMethod without Exception 173 logWriter.println(" Send ClassType.InvokeMethod without Exception"); 183 TaggedObject exception = reply.getNextValueAsTaggedObject(); local 184 assertNotNull("Returned exception is null", exception); 185 assertTrue("Invalid exception object ID:<" + exception.objectID + ">", exception.objectID == 0) 352 TaggedObject exception = reply.getNextValueAsTaggedObject(); local 479 TaggedObject exception = reply.getNextValueAsTaggedObject(); local [all...] |