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

1 2 3

  /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) {
  /external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
Exception.pm 1 package ANTLR::Runtime::Exception;
3 use Exception::Class;
7 extends 'Moose::Object', 'Exception::Class::Base';
  /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...]
  /art/test/ExceptionHandle/
ExceptionHandle.java 20 int f() throws Exception {
25 } catch (Exception e) {
35 void g(int doThrow) throws Exception {
37 throw new Exception();
  /external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
Exception.pm 1 package Test::ANTLR::Runtime::Exception;
  /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 17 class Exception
20 Exception(const char* s = "Unknown"){what = strdup(s); }
21 Exception(const Exception& e ){what = strdup(e.what); }
22 ~Exception() {free(what); }
39 puts("Another exception:");
45 puts("Caught a C-based exception.");
46 throw(Exception("Hardware error: Divide by 0"));
49 catch(const Exception& e)
51 printf("Caught C++ Exception: %s :\n", e.msg())
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
call-stack.rb 51 class Exception
  /external/junit/src/org/junit/internal/runners/statements/
ExpectException.java 19 public void evaluate() throws Exception {
28 String message= "Unexpected exception, expected<"
31 throw new Exception(message, e);
35 throw new AssertionError("Expected exception: "
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/sax/
_exceptions.py 4 from java.lang import Exception
9 class SAXException(Exception):
16 the exception; instead, you can simply read the information in
19 def __init__(self, msg, exception=None):
20 """Creates an exception. The message is required, but the exception
23 self._exception = exception
24 Exception.__init__(self, msg)
27 "Return a message for this exception."
31 "Return the embedded exception, or None if there was none.
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/sax/
_exceptions.py 4 from java.lang import Exception
9 class SAXException(Exception):
16 the exception; instead, you can simply read the information in
19 def __init__(self, msg, exception=None):
20 """Creates an exception. The message is required, but the exception
23 self._exception = exception
24 Exception.__init__(self, msg)
27 "Return a message for this exception."
31 "Return the embedded exception, or None if there was none.
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
exception_type.h 24 #include <exception>
30 class Exception : public std::exception {
32 Exception() : what_("Unknown exception") {}
33 explicit Exception(const char* message) throw() { SetMessage(message); }
34 virtual ~Exception() throw() {}
48 class IndexOutOfBoundException : public Exception {
50 IndexOutOfBoundException() throw() : Exception("Index out of bound") {}
52 : Exception(message) {
    [all...]
  /external/sfntly/cpp/src/sfntly/port/
exception_type.h 24 #include <exception>
30 class Exception : public std::exception {
32 Exception() : what_("Unknown exception") {}
33 explicit Exception(const char* message) throw() { SetMessage(message); }
34 virtual ~Exception() throw() {}
48 class IndexOutOfBoundException : public Exception {
50 IndexOutOfBoundException() throw() : Exception("Index out of bound") {}
52 : Exception(message) {
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
LogTest.java 32 Exception tr = null;
34 throw new Exception();
35 } catch (Exception e) {
  /external/chromium_org/v8/include/
v8-debug.h 41 Exception = 2,
  /external/v8/include/
v8-debug.h 75 Exception = 2,
  /art/test/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...]
  /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...]
  /external/clang/test/CXX/temp/temp.decls/temp.variadic/
sizeofpack.cpp 81 class Exception {};
89 cxx_throw<Exception>("Youpi",1);
  /external/llvm/utils/KillTheDoctor/
KillTheDoctor.cpp 373 // exception.
498 // Close the application if this exception will not be handled by the
503 EXCEPTION_DEBUG_INFO &Exception = DebugEvent.u.Exception;
504 if (Exception.dwFirstChance > 0) {
507 errs() << "First chance exception at "
508 << Exception.ExceptionRecord.ExceptionAddress
509 << ", exception code: "
511 Exception.ExceptionRecord.ExceptionCode)
512 << " (" << Exception.ExceptionRecord.ExceptionCode << ")\n"
    [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.
39 /// exception specification. Incomplete types, or pointers to incomplete types
42 /// \param[in,out] T The exception type. This will be decayed to a pointer type
47 // in an exception-specification is adjusted to type T, "pointer to T", or
72 // A type denoted in an exception-specification shall not denote [...]
81 // A type denoted in an exception-specification shall not denote an
83 // A type denoted in an exception-specification shall not denote a
96 /// to member to a function with an exception specification. This means that
122 // If the exception specification has already been resolved, just return it
    [all...]
  /external/marisa-trie/lib/marisa/
base.h 61 // an exception with this error code.
65 // some functions throw an exception with this error code when an
154 // An exception object stores a filename, a line number and an error code.
155 class Exception {
157 Exception(const char *filename, int line, Status status)
159 Exception(const Exception &ex)
162 Exception &operator=(const Exception &rhs) {
179 // Same as std::exception, what() returns an error message
    [all...]
  /external/marisa-trie/v0_1_5/lib/marisa_alpha/
base.h 56 // an exception with this error code.
60 // example, some functions throw an exception with this error code when an
148 // An exception object stores a filename, a line number and an error code.
149 class Exception {
151 Exception(const char *filename, int line, Status status)
153 Exception(const Exception &ex)
156 Exception &operator=(const Exception &rhs) {
173 // Same as std::exception, what() returns an error message
    [all...]

Completed in 1753 milliseconds

1 2 3