HomeSort by relevance Sort by last modified time
    Searched defs:Exception (Results 1 - 25 of 31) sorted by null

1 2

  /external/javasqlite/src/main/java/SQLite/
Exception.java 7 public class Exception extends java.lang.Exception {
10 * Construct a new SQLite exception.
15 public Exception(String string) {
  /libcore/luni/src/main/java/java/lang/
Exception.java 22 * {@code Exception} is the superclass of all classes that represent recoverable
30 public class Exception extends Throwable {
34 * Constructs a new {@code Exception} that includes the current stack trace.
36 public Exception() {
40 * Constructs a new {@code Exception} with the current stack trace and the
44 * the detail message for this exception.
46 public Exception(String detailMessage) {
51 * Constructs a new {@code Exception} with the current stack trace, the
55 * the detail message for this exception.
57 * the cause of this exception
    [all...]
  /external/clang/test/SemaTemplate/
instantiate-try-catch.cpp 19 struct Exception {
21 Exception(const Exception&); // expected-note{{declared private here}}
23 void exception() { function in class:PR10232::Templated
25 } catch(Exception e) { // expected-error{{calling a private constructor of class 'PR10232::Templated<int>::Exception'}}
30 template class Templated<int>; // expected-note{{in instantiation of member function 'PR10232::Templated<int>::exception' requested here}}
  /external/clang/test/SemaCXX/
__try.cpp 16 class Exception
19 Exception(const char* s = "Unknown"){what = strdup(s); }
20 Exception(const Exception& e ){what = strdup(e.what); }
21 ~Exception() {free(what); }
38 puts("Another exception:");
44 puts("Caught a C-based exception.");
45 throw(Exception("Hardware error: Divide by 0"));
48 catch(const Exception& e)
50 printf("Caught C++ Exception: %s :\n", e.msg())
    [all...]
  /cts/tools/dx-tests/src/dxc/junit/verify/t482_10/jm/
T_t482_10_1.java 30 throw new Exception();
32 }catch(Exception e){
  /cts/tests/tests/util/src/android/util/cts/
LogTest.java 123 Exception tr = null;
125 throw new Exception();
126 } catch (Exception e) {
  /external/v8/include/
v8-debug.h 75 Exception = 2,
v8.h 696 * Exception stack trace. By default stack traces are not captured for
    [all...]
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/build/
DebugKeyProviderTest.java 33 protected void setUp() throws Exception {
42 protected void tearDown() throws Exception {
52 public void testCreateAndCheckKey() throws Exception {
64 // In case we get any kind of exception, rewrap it to make sure we output
68 throw new Exception(msg, t);
  /dalvik/tests/044-proxy/src/
WrappedThrow.java 46 System.err.println("No exception thrown");
50 System.err.println("Got unexpected exception: " + t);
55 System.err.println("No exception thrown");
59 System.err.println("Got unexpected exception: " + t);
64 System.err.println("No exception thrown");
68 System.err.println("Got unexpected exception: " + t);
76 System.err.println("No exception thrown");
80 System.err.println("Got unexpected exception: " + t);
85 System.err.println("No exception thrown");
89 System.err.println("Got unexpected exception: " + t)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
ConstructorTest.java 51 public void test_equalsLjava_lang_Object() throws Exception {
69 public void test_getDeclaringClass() throws Exception {
83 public void test_getExceptionTypes() throws Exception {
91 assertEquals("Returned exception list of incorrect length", 1,
93 assertTrue("Returned incorrect exception", exceptions[0].equals(ex));
109 fail("Exception during test : " + e.getMessage());
120 fail("Exception during test : " + e.getMessage());
138 public void test_getName() throws Exception {
152 public void test_getParameterTypes() throws Exception {
172 public void test_newInstance$Ljava_lang_Object() throws Exception {
    [all...]
MethodTest.java 139 public void test_equalsLjava_lang_Object() throws Exception {
175 public void test_getExceptionTypes() throws Exception {
183 assertTrue("Returned incorrect exception type", ex[0]
194 public void test_getModifiers() throws Exception {
233 public void test_getName() throws Exception {
245 public void test_getParameterTypes() throws Exception {
291 public void test_getReturnType() throws Exception {
339 public void test_invokeLjava_lang_Object$Ljava_lang_Object() throws Exception {
422 } catch (Exception e) {
423 assertTrue("Byte invalid exception: " + e
    [all...]
ProxyTest.java 39 * exceptions are those which can be mapped to another exception in the
44 * UndeclaredThrowableException wrappers any checked exception which is not
92 public void test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() throws Exception {
124 fail("Problem converting exception");
130 fail("Problem converting exception");
137 fail("Problem converting exception");
143 fail("Problem converting exception");
267 assertTrue(exps.contains(Exception.class));
314 public void test() throws Exception{
315 throw new Exception();
    [all...]
  /external/clang/lib/Sema/
SemaExceptionSpec.cpp 1 //===--- SemaExceptionSpec.cpp - C++ Exception Specifications ---*- C++ -*-===//
10 // This file provides Sema routines for C++ exception specification testing.
38 /// exception specification. Incomplete types, or pointers to incomplete types
45 // within function bodies, default arguments, exception-specifications, and
50 // C++ 15.4p2: A type denoted in an exception-specification shall not denote
56 // C++ 15.4p2: A type denoted in an exception-specification shall not denote
81 /// to member to a function with an exception specification. This means that
119 // The failure was something other than an empty exception
127 // The new function declaration is only missing an empty exception
130 // exception specification to the "new" declaration. This is a
    [all...]
  /external/llvm/utils/KillTheDoctor/
KillTheDoctor.cpp 416 // exception.
541 // Close the application if this exception will not be handled by the
546 EXCEPTION_DEBUG_INFO &Exception = DebugEvent.u.Exception;
547 if (Exception.dwFirstChance > 0) {
550 errs() << "First chance exception at "
551 << Exception.ExceptionRecord.ExceptionAddress
552 << ", exception code: "
554 Exception.ExceptionRecord.ExceptionCode)
555 << " (" << Exception.ExceptionRecord.ExceptionCode << ")\n"
    [all...]
  /frameworks/base/test-runner/tests/src/android/test/
AndroidTestRunnerTest.java 42 protected void setUp() throws Exception {
50 public void testLoadNoTestCases() throws Exception {
60 public void testSetTestSuiteWithOneTestCase() throws Exception {
70 public void testRunTest() throws Exception {
81 public void testRunTestWithAndroidTestCase() throws Exception {
97 public void testRunTestWithAndroidTestCaseInSuite() throws Exception {
113 public void testRunTestWithAndroidTestCaseInNestedSuite() throws Exception {
129 public void testRunTestWithNullListener() throws Exception {
140 public void testSetTestClassWithTestSuiteProvider() throws Exception {
152 public void testSetTestClassWithTestSuite() throws Exception {
    [all...]
  /external/v8/src/mips/
simulator-mips.h 308 enum Exception {
  /external/v8/src/
d8.js 82 Exception: 2,
189 case 'exception':
193 result += 'Exception: ';
196 result += body.exception.text;
1045 // Check for exception breaks first:
1059 if (arg1 == 'exc' || arg1 == 'exception' || arg1 == 'exceptions') {
1077 if (arg2 == 'exc' || arg1 == 'exception' || arg1 == 'exceptions') {
    [all...]
objects-inl.h 427 return this == Failure::Exception();
787 return Failure::Exception();
975 Failure* Failure::Exception() {
976 return Construct(EXCEPTION);
    [all...]
api.cc 344 // If we're passed an empty handle, we throw an undefined exception
1523 i::Object* exception = reinterpret_cast<i::Object*>(exception_); local
    [all...]
debug-debugger.js 41 Exception: 2,
221 // Exception evaluating condition counts as not triggered.
733 // Disable all exception breakpoints:
1037 function MakeExceptionEvent(exec_state, exception, uncaught) {
1038 return new ExceptionEvent(exec_state, exception, uncaught);
1042 function ExceptionEvent(exec_state, exception, uncaught) {
1044 this.exception_ = exception;
1055 return Debug.DebugEvent.Exception;
1059 ExceptionEvent.prototype.exception = function() {
    [all...]
  /external/clang/lib/CodeGen/
CGObjCGNU.cpp 300 /// Function called when exiting from a catch block. Used to do exception
    [all...]
CGObjCMac.cpp     [all...]
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/11/
android.jar 

Completed in 1311 milliseconds

1 2