| /packages/services/Mms/src/com/android/mms/service/exception/ |
| ApnException.java | 17 package com.android.mms.service.exception; 20 * APN exception 22 public class ApnException extends Exception {
|
| MmsHttpException.java | 17 package com.android.mms.service.exception; 20 * HTTP exception 22 public class MmsHttpException extends Exception {
|
| MmsNetworkException.java | 17 package com.android.mms.service.exception; 20 * MMS network exception 22 public class MmsNetworkException extends Exception {
|
| /prebuilts/misc/common/swig/include/2.0.11/ |
| std_except.i | 6 * require to support STL but only the 'exception.i' mechanism. 9 * exception specification, such as 14 * 'exception.i' library. If that is working in your target language, 17 * If the target language doesn't implement a robust 'exception.i' 30 %include <exception.i> 33 %define %std_exception_map(Exception, Code) 34 %typemap(throws,noblock=1) Exception { 37 %ignore Exception; 38 struct Exception { 45 %std_exception_map(exception, SWIG_SystemError) [all...] |
| /external/chromium_org/v8/test/webkit/fast/js/kde/ |
| lval-exceptions.js | 47 var exception; 52 exception = e; 55 if (exception) { 56 if (typeof exType == "undefined" || exception instanceof exType) 57 testPassed(f + " threw exception " + exception + "."); 59 testFailed(f + " should throw exception " + exType + ". Threw exception " + exception + "."); 61 testFailed(f + " should throw exception " + exType + ". Was undefined.") [all...] |
| /external/chromium_org/components/breakpad/app/ |
| hard_error_handler_win.cc | 31 // We assume that exception codes are NT_STATUS codes. 100 long exception = ex_info->ExceptionRecord->ExceptionCode; local 101 if (exception == kExceptionModuleNotFound) { 104 } else if (exception == kExceptionEntryPtNotFound) { 107 } else if (FacilityFromException(exception) == FACILITY_GRAPHICS_KERNEL) { 109 RaiseHardErrorMsg(exception, std::string(), std::string());
|
| /frameworks/base/core/java/android/os/ |
| RegistrantList.java | 74 internalNotifyRegistrants (Object result, Throwable exception) 78 r.internalNotifyRegistrant(result, exception); 89 notifyException(Throwable exception) 91 internalNotifyRegistrants (null, exception); 104 internalNotifyRegistrants(ar.result, ar.exception);
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| LongTest.java | 95 boolean exception = false; 101 exception = true; 103 assertTrue("Failed to throw exception for value > ilong", exception); 105 exception = false; 110 exception = true; 112 assertTrue("Failed to throw exception for MAX_VALUE + 1", exception); 114 exception = false; 119 exception = true [all...] |
| /external/chromium_org/build/android/pylib/device/ |
| decorators_test.py | 85 def alwaysRaisesProvidedException(exception, timeout=None, retries=None): 86 raise exception 93 self.assertEquals(exception_desc, str(e.exception)) 100 self.assertEquals(exception_desc, str(e.exception)) 105 def alwaysRaisesProvidedException(exception, timeout=None, retries=None): 106 raise exception 113 self.assertEquals(exception_desc, str(e.exception)) 174 def alwaysRaisesProvidedException(exception, timeout=None, retries=None): 175 raise exception 181 self.assertEquals(exception_desc, str(e.exception)) [all...] |
| /external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/ |
| errwarn.pxi | 26 class YasmError(Exception): pass 40 exception = ZeroDivisionError 43 # exception = OverflowError 45 # exception = FloatingPointError 47 # exception = ArithmeticError 49 # exception = AssertionError 51 # exception = ValueError # include notabs, notconst, toocomplex 53 # exception = IOError 55 # exception = NotImplementedError 57 # exception = TypeErro [all...] |
| /frameworks/base/core/java/android/net/http/ |
| Connection.java | 161 Exception exception = null; local 236 exception = e; 239 exception = e; 242 exception = e; 245 if (exception != null) { 246 if (httpFailure(req, error, exception) && 252 exception = null; 284 exception = e; 287 exception = e 352 Exception exception = null; local [all...] |
| /prebuilts/misc/common/swig/include/2.0.11/d/ |
| dhead.swg | 20 * Exception support code. 76 // Exception throwing support currently requires Tango, but there is no reason 78 static import tango.core.Exception; 95 auto exception = new object.Exception(tango.stdc.stringz.fromStringz(message).dup); 96 exception.next = SwigPendingException.retrieve(); 97 SwigPendingException.set(exception); 101 auto exception = new tango.core.Exception.IllegalArgumentException(tango.stdc.stringz.fromStringz(message).dup); 102 exception.next = SwigPendingException.retrieve() [all...] |
| /external/apache-xml/src/main/java/org/apache/xml/dtm/ |
| DTMException.java | 64 /** Field containedException specifies a wrapped exception. May be null. 69 * This method retrieves an exception that this exception wraps. 144 * Create a new DTMException wrapping an existing exception. 146 * @param e The exception to be wrapped. 157 * Wrap an existing exception in a DTMException. 163 * use the message from the embedded exception. 164 * @param e Any exception 180 * creating its own exception from within a DocumentHandler 195 * Wrap an existing exception in a DTMException 336 Throwable exception = getException(); local [all...] |
| /libcore/luni/src/test/java/libcore/java/io/ |
| OldAndroidPipedStreamTest.java | 26 public abstract void runTest() throws Exception; 32 exception = e; 36 Throwable exception; field in class:OldAndroidPipedStreamTest.TestThread 40 public void testA() throws Exception { 53 public void runTest() throws Exception { 77 public void runTest() throws Exception { 100 if (writer.exception != null) { 101 throw new Exception(writer.exception); 103 if (reader.exception != null) [all...] |
| /external/chromium_org/v8/test/mjsunit/ |
| debug-break-native.js | 8 var exception = null; 17 exception = e; 42 assertNull(exception);
|
| property-load-across-eval.js | 48 var exception = false; 52 exception = true; 54 assertTrue(exception); 56 exception = false; 60 exception = true; 62 assertTrue(exception); 70 var exception = false; 74 exception = true; 76 assertTrue(exception); 78 exception = false [all...] |
| /external/chromium_org/v8/test/mjsunit/regress/ |
| regress-1365.js | 56 var exception = false; 57 try { valueOf(); } catch(e) { exception = true; } 58 assertTrue(exception); 59 exception = false; 60 try { hasOwnProperty(); } catch(e) { exception = true; } 61 assertTrue(exception); 66 var exception = false; 67 try { f(); } catch(e) { exception = true; } 68 assertTrue(exception); 74 var exception = false [all...] |
| /frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/ |
| AmbiguousViewMatcherException.java | 30 * An exception which indicates that a Matcher<View> matched multiple views in the hierarchy when 36 * Since this is usually an unrecoverable error this exception is a runtime exception. 42 * hierarchy may have changed since exception creation (leading to more confusion). 92 public Builder from(AmbiguousViewMatcherException exception) { 93 this.viewMatcher = exception.viewMatcher; 94 this.rootView = exception.rootView; 95 this.view1 = exception.view1; 96 this.view2 = exception.view2; 97 this.others = exception.others [all...] |
| NoMatchingViewException.java | 37 * Since this is usually an unrecoverable error this exception is a runtime exception. 43 * hierarchy may have changed since exception creation (leading to more confusion). 94 public Builder from(NoMatchingViewException exception) { 95 this.viewMatcher = exception.viewMatcher; 96 this.rootView = exception.rootView; 97 this.adapterViews = exception.adapterViews; 98 this.adapterViewWarning = exception.adapterViewWarning; 99 this.includeViewHierarchy = exception.includeViewHierarchy;
|
| /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
| EvenMoreAsserts.java | 39 public static <T extends Exception> void assertThrows(Class<T> exception, Runnable r) { 40 assertThrows(null, exception, r); 43 public static <T extends Exception> void assertThrows(String message, Class<T> exception, 50 } catch (Exception caught) { 51 if (!exception.isInstance(caught)) { 52 Assert.fail(appendUserMessage("Exception " + exception + " expected but " + 58 "Exception " + exception + " expected but no exception was thrown." [all...] |
| /libnativehelper/ |
| JNIHelp.cpp | 94 * Returns a human-readable summary of an exception object. The buffer will 96 * exception message. 98 static bool getExceptionSummary(C_JNIEnv* env, jthrowable exception, std::string& result) { 101 /* get the name of the exception's class */ 102 scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fail 123 /* if the exception has a detail message, get that */ 127 (jstring) (*env)->CallObjectMethod(e, exception, getMessage)); 147 * Returns an exception (with stack trace) as a string. 149 static bool getStackTrace(C_JNIEnv* env, jthrowable exception, std::string& result) { 181 scoped_local_ref<jclass> exceptionClass(env, (*env)->GetObjectClass(e, exception)); // can't fai [all...] |
| /external/chromium_org/tools/telemetry/telemetry/results/ |
| gtest_test_results_unittest.py | 59 exception = self.CreateException() 60 results.AddFailure(test_page_set.pages[0], exception) 62 exception_trace = ''.join(traceback.format_exception(*exception)) 76 exception = self.CreateException() 77 results.AddError(test_page_set.pages[0], exception) 79 exception_trace = ''.join(traceback.format_exception(*exception)) 104 exception = self.CreateException() 112 results.AddError(test_page_set.pages[1], exception) 116 results.AddFailure(test_page_set.pages[2], exception) 123 exception_trace = ''.join(traceback.format_exception(*exception)) [all...] |
| /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
| AdnRecordLoader.java | 69 * or response.obj.exception is set 88 * or response.obj.exception is set 143 if (ar.exception != null) { 145 ar.exception); 156 ar.exception); 163 ar.exception); 174 if (ar.exception != null) { 176 ar.exception); 185 if (ar.exception != null) { 186 throw new RuntimeException("load failed", ar.exception); [all...] |
| /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/jdwp/ClassType/ |
| InvokeMethod003Test.java | 45 * exception object is null. 120 logWriter.println(" Send ClassType.InvokeMethod without Exception"); 130 TaggedObject exception = reply.getNextValueAsTaggedObject(); local 131 assertNotNull("Returned exception is null", exception); 132 assertTrue("Invalid exception object ID:<" + exception.objectID + ">", exception.objectID == 0); 133 assertEquals("Invalid exception tag,", JDWPConstants.Tag.OBJECT_TAG, exception.ta [all...] |