HomeSort by relevance Sort by last modified time
    Searched full:exception (Results 501 - 525 of 25972) sorted by null

<<21222324252627282930>>

  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/
exception 0 // Exception Handling support header for -*- C++ -*-
18 // permissions described in the GCC Runtime Library Exception, version
22 // a copy of the GCC Runtime Library Exception along with this program;
26 /** @file exception
48 * Classes and functions for reporting errors via exception classes.
57 * your own %exception classes, or use a different hierarchy, or to
60 class exception
63 exception() _GLIBCXX_USE_NOEXCEPT { }
64 virtual ~exception() _GLIBCXX_USE_NOEXCEPT;
71 /** If an %exception is thrown which is not listed in a function'
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_exception_variations.py 12 raise Exception, 'nyaa!'
47 raise Exception, 'yarr!'
74 raise Exception, 'ahoy!'
95 raise Exception, 'foo!'
135 raise Exception, 'inner exception'
162 raise Exception, 'outer exception'
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_exception_variations.py 12 raise Exception, 'nyaa!'
47 raise Exception, 'yarr!'
74 raise Exception, 'ahoy!'
95 raise Exception, 'foo!'
135 raise Exception, 'inner exception'
162 raise Exception, 'outer exception'
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
ViewLoaderTest.java 36 public void setUp() throws Exception {
60 public void testCreatesCorrectClasses() throws Exception {
68 public void testChoosesLayoutBasedOnDefaultScreenSize() throws Exception {
75 public void testChoosesLayoutBasedOnSearchPath_choosesFirstFileFoundOnPath() throws Exception {
83 public void testChoosesLayoutBasedOnSearchPath_respectsOrderOfPath() throws Exception {
91 public void testChoosesLayoutBasedOnDefaultVersion() throws Exception {
99 public void testChoosesLayoutBasedOnNewestVersion() throws Exception {
107 public void testChoosesLayoutBasedOnSearchPath_choosesFirstFileFoundOnPathWithVersionNumber() throws Exception {
116 public void testChoosesLayoutBasedOnSearchPath_choosesBestFileFoundOnPathWithVersionNumber() throws Exception {
125 public void testWebView() throws Exception {
343 IllegalStateException exception = null; local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/os/storage/
AsecTests.java 39 protected void setUp() throws Exception {
46 protected void tearDown() throws Exception {
79 boolean isExternal) throws Exception {
88 private int mountContainer(String localId, String key) throws Exception {
96 private int renameContainer(String localId1, String localId2) throws Exception {
105 private int unmountContainer(String localId, boolean force) throws Exception {
113 private int destroyContainer(String localId, boolean force) throws Exception {
121 private boolean isContainerMounted(String localId) throws Exception {
139 private boolean isMediaMounted() throws Exception {
150 public void test_Fat_External_Create_Success() throws Exception {
    [all...]
  /external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/
SaslExceptionTest.java 38 new Exception("New exception"),
39 new Exception(),
40 new Exception("exception", new Throwable()),
42 new Exception(new Exception("Another exception"))
45 static Throwable tCause = new Throwable("Throwable for exception");
50 * null root exception.
    [all...]
  /frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
RRuleTest.java 66 String golden) throws Exception {
71 String golden, String advanceTo, String tz) throws Exception {
86 * @throws Exception if anything goes wrong.
89 String golden, String advanceTo, String endAt, String tz) throws Exception {
145 public void testFrequencyLimits() throws Exception {
146 // Rather than checking that we get an exception,
161 public void testSimpleDaily() throws Exception {
166 public void testSimpleWeekly() throws Exception {
171 public void testSimpleMonthly() throws Exception {
176 public void testSimpleYearly() throws Exception {
    [all...]
  /libcore/luni/src/test/java/libcore/sqlite/
OldStmtTest.java 76 @Override public void setUp() throws Exception {
87 @Override public void tearDown() throws Exception {
91 } catch (Exception e) {
100 public void testStmt() throws Exception {
106 } catch (SQLite.Exception expected) {
110 public void testPrepare() throws Exception {
115 } catch (SQLite.Exception expected) {
144 public void testStep() throws Exception {
147 fail("Exception expected");
148 } catch (SQLite.Exception expected)
    [all...]
  /art/runtime/entrypoints/quick/
quick_throw_entrypoints.cc 26 // Deliver an exception that's pending on thread helping set up a callee save frame on the way.
33 // Called by generated call to throw an exception.
34 extern "C" void artDeliverExceptionFromCode(mirror::Throwable* exception, Thread* self,
38 * exception may be NULL, in which case this routine should
42 * exception_ in thread and delivering the exception.
46 if (exception == NULL) {
48 "throw with null exception");
50 self->SetException(throw_location, exception);
55 // Called by generated call to throw a NPE exception.
65 // Called by generated call to throw an arithmetic divide by zero exception
    [all...]
  /cts/tests/tests/drm/src/android/drm/cts/
DrmInfoRequestTest.java 32 public static void testInvalidInfoTypes() throws Exception {
38 public static void testValidInfoTypes() throws Exception {
46 public static void testGetInfoType() throws Exception {
54 public static void testInvalidMimeTypes() throws Exception {
59 public static void testGetMimeType() throws Exception {
65 public static void testPutAndGetKeys() throws Exception {
101 private static void checkInvalidMimeType(String mimeType) throws Exception {
110 private static void checkGetMimeType(String mimeType) throws Exception {
115 private static void checkGetInfoType(int type) throws Exception {
120 private static void checkInvalidInfoType(int type) throws Exception {
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
VpnServiceTest.java 38 public void testPrepare() throws Exception {
48 public void testEstablish() throws Exception {
57 } catch (Exception e) {
63 public void testProtect_DatagramSocket() throws Exception {
71 } catch (Exception e) {
77 public void testProtect_Socket() throws Exception {
85 } catch (Exception e) {
91 public void testProtect_int() throws Exception {
100 } catch (Exception e) {
105 } catch (Exception e)
    [all...]
  /external/chromium_org/v8/test/webkit/
array-every-expected.txt 51 4.0 Exception Test
52 PASS [12, 5, 8, 130, 44].every(isBigEnoughAndException) threw exception exception from function.
53 PASS [12, 54, 18, 130, 44].every(isBigEnoughAndException) threw exception exception from function.
56 PASS [12, 5, 8, 130, 44].every(5) threw exception TypeError: 5 is not a function.
57 PASS [12, 5, 8, 130, 44].every('wrong') threw exception TypeError: wrong is not a function.
58 PASS [12, 5, 8, 130, 44].every(new Object()) threw exception TypeError: #<Object> is not a function.
59 PASS [12, 5, 8, 130, 44].every(null) threw exception TypeError: null is not a function.
60 PASS [12, 5, 8, 130, 44].every(undefined) threw exception TypeError: undefined is not a function
    [all...]
  /external/chromium_org/v8/test/webkit/fast/js/
number-toprecision-expected.txt 37 PASS (1234.567).toPrecision(0) threw exception RangeError: toPrecision() argument must be between 1 and 21.
38 PASS (1234.567).toPrecision(null) threw exception RangeError: toPrecision() argument must be between 1 and 21.
39 PASS (1234.567).toPrecision(false) threw exception RangeError: toPrecision() argument must be between 1 and 21.
40 PASS (1234.567).toPrecision('foo') threw exception RangeError: toPrecision() argument must be between 1 and 21.
41 PASS (1234.567).toPrecision(-1) threw exception RangeError: toPrecision() argument must be between 1 and 21.
49 PASS (1234.567).toPrecision(22) threw exception RangeError: toPrecision() argument must be between 1 and 21.
50 PASS (1234.567).toPrecision(100) threw exception RangeError: toPrecision() argument must be between 1 and 21.
51 PASS (1234.567).toPrecision(101) threw exception RangeError: toPrecision() argument must be between 1 and 21.
52 PASS (1234.567).toPrecision(posInf) threw exception RangeError: toPrecision() argument must be between 1 and 21.
53 PASS (1234.567).toPrecision(negInf) threw exception RangeError: toPrecision() argument must be between 1 and 21
    [all...]
  /external/clang/test/SemaTemplate/
instantiate-exception-spec-cxx11.cpp 3 // DR1330: an exception specification for a function template is only
6 template<typename T> void f1(T*) throw(T); // expected-error{{incomplete type 'Incomplete' is not allowed in exception specification}}
11 f1(incomplete_p); // expected-note{{instantiation of exception spec}}
28 // expected-note 9{{instantiation of exception spec}}
30 decltype(S<0>::recurse()) *pVoid1 = 0; // ok, exception spec not needed
31 decltype(&S<0>::recurse) pFn = 0; // ok, exception spec not needed
34 void (*pFn2)() noexcept = &S<0>::recurse; // expected-note {{instantiation of exception spec}} expected-error {{not superset}}
51 // expected-note {{instantiation of exception spec}}
55 S().f<int>(); // expected-note {{instantiation of exception spec}}
98 template <typename T> void f1(T) throw(typename T::exception); // expected-note {{candidate}
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SettingsTest.java 23 public void setUp() throws Exception {
29 public void whileApplicationStaysSame_shouldRememberOldSettings() throws Exception {
39 public void whenApplicationChanges_shouldStartWithNewSettings() throws Exception {
50 public void testSystemGetInt() throws Exception {
59 public void testSecureGetInt() throws Exception {
68 public void testSystemGetString() throws Exception {
76 public void testSystemGetLong() throws Exception {
84 public void testSystemGetFloat() throws Exception {
91 public void testSystemGetLong_exception() throws Exception {
96 public void testSystemGetInt_exception() throws Exception {
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
FrameLayoutGravityTest.java 44 protected void setUp() throws Exception {
65 public void testSetUpConditions() throws Exception {
79 public void testLeftTopAligned() throws Exception {
85 public void testRightTopAligned() throws Exception {
91 public void testCenterHorizontalTopAligned() throws Exception {
97 public void testLeftCenterVerticalAligned() throws Exception {
103 public void testRightCenterVerticalAligned() throws Exception {
109 public void testCenterAligned() throws Exception {
115 public void testLeftBottomAligned() throws Exception {
121 public void testRightBottomAligned() throws Exception {
    [all...]
  /libcore/luni/src/main/java/java/net/
URISyntaxException.java 24 public class URISyntaxException extends Exception {
34 * string that caused the exception, a description of the problem and the
38 * the string that caused the exception.
40 * the reason why the exception occurred.
42 * the position where the exception occurred.
68 * string that caused the exception and a description of the problem.
71 * the string that caused the exception.
73 * the reason why the exception occurred.
113 * @return the string that caused the exception.
120 * Gets a description of the exception, including the reason, the strin
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLSocketFactoryTest.java 48 } catch (Exception e) {
49 fail("Unexpected exception " + e.toString());
74 } catch (Exception ex) {
75 fail("Unexpected exception " + ex);
82 } catch (Exception ex) {
83 fail("Unexpected exception " + ex);
108 } catch (Exception e) {
121 } catch (Exception e) {
122 fail("Unexpected exception " + e.toString());
134 } catch (Exception e)
    [all...]
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
BitmapUtilTests.java 33 public void testGetSmallerExtentFromBytes1() throws Exception {
38 public void testGetSmallerExtentFromBytes2() throws Exception {
43 public void testGetSmallerExtentFromBytes3() throws Exception {
48 public void testFindOptimalSampleSizeExact() throws Exception {
52 public void testFindOptimalSampleSizeBigger() throws Exception {
56 public void testFindOptimalSampleSizeSmaller1() throws Exception {
60 public void testFindOptimalSampleSizeSmaller2() throws Exception {
64 public void testFindOptimalSampleSizeSmaller3() throws Exception {
68 public void testFindOptimalSampleSizeSmaller4() throws Exception {
72 public void testFindOptimalSampleSizeUnknownOriginal() throws Exception {
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
UseCompoundDrawableRefactoringTest.java 32 public void testCombine() throws Exception {
49 public void test1() throws Exception {
54 public void test2() throws Exception {
59 public void test3() throws Exception {
64 public void test4() throws Exception {
69 public void test5() throws Exception {
75 public void test6() throws Exception {
81 public void test7() throws Exception {
86 public void test8() throws Exception {
91 public void test9() throws Exception {
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
ShadowWranglerTest.java 29 public void setUp() throws Exception {
34 public void testConstructorInvocation_WithDefaultConstructorAndNoConstructorDelegateOnShadowClass() throws Exception {
42 public void testConstructorInvocation() throws Exception {
51 public void testRealObjectAnnotatedFieldsAreSetBeforeConstructorIsCalled() throws Exception {
63 public void testMethodDelegation() throws Exception {
71 public void testEqualsMethodDelegation() throws Exception {
80 public void testHashCodeMethodDelegation() throws Exception {
88 public void testToStringMethodDelegation() throws Exception {
96 public void testShadowSelectionSearchesSuperclasses() throws Exception {
104 public void shouldUseMostSpecificShadow() throws Exception {
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
ReflectionBenchmark.java 25 public void timeObject_getClass(int reps) throws Exception {
32 public void timeClass_getField(int reps) throws Exception {
39 public void timeClass_getDeclaredField(int reps) throws Exception {
46 public void timeClass_getConstructor(int reps) throws Exception {
53 public void timeClass_newInstance(int reps) throws Exception {
61 public void timeClass_getMethod(int reps) throws Exception {
68 public void timeClass_getDeclaredMethod(int reps) throws Exception {
75 public void timeField_setInt(int reps) throws Exception {
84 public void timeField_getInt(int reps) throws Exception {
93 public void timeMethod_invokeV(int reps) throws Exception {
    [all...]
  /libcore/luni/src/test/java/libcore/icu/
AlphabeticIndexTest.java 33 public void test_en() throws Exception {
40 public void test_ja() throws Exception {
67 public void test_ko() throws Exception {
77 public void test_cs() throws Exception {
92 public void test_fr() throws Exception {
99 public void test_da() throws Exception {
108 public void test_de() throws Exception {
117 public void test_th() throws Exception {
125 public void test_ar() throws Exception {
132 public void test_he() throws Exception {
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
InterruptedStreamTest.java 49 @Override protected void setUp() throws Exception {
56 @Override protected void tearDown() throws Exception {
65 public void testInterruptPipedInputStream() throws Exception {
71 public void testInterruptPipedOutputStream() throws Exception {
77 public void testInterruptPipedReader() throws Exception {
83 public void testInterruptPipedWriter() throws Exception {
89 public void testInterruptReadablePipeChannel() throws Exception {
93 public void testInterruptWritablePipeChannel() throws Exception {
97 public void testInterruptReadableSocketChannel() throws Exception {
102 public void testInterruptWritableSocketChannel() throws Exception {
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStore3Test.java 51 public KeyStore3Test() throws Exception {
77 public void test_load() throws Exception {
78 // No exception should be thrown out.
82 public void test_store() throws Exception {
90 // No exception should be thrown out.
95 public void test_setKeyEntry_null() throws Exception {
97 // No exception should be thrown out.
101 public void test_setKeyEntry_key_is_null() throws Exception {
103 // No exception should be thrown out.
107 public void test_setKeyEntry_key_is_private() throws Exception {
    [all...]

Completed in 6140 milliseconds

<<21222324252627282930>>