| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| RuntimeExceptionTest.java | 47 Throwable emptyThrowable = new Exception(); 53 Throwable throwable = new Exception("msg"); 54 RuntimeException exception = new RuntimeException(throwable); local 55 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage());
|
| IllegalStateExceptionTest.java | 49 Throwable emptyThrowable = new Exception(); 55 Throwable throwable = new Exception("msg"); 56 IllegalStateException exception = new IllegalStateException(throwable); local 57 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); 66 Throwable emptyThrowable = new Exception(); 72 Throwable throwable = new Exception("msg_exception"); 73 IllegalStateException exception = new IllegalStateException("msg", throwable); local 74 assertEquals("msg", exception.getMessage()); 75 assertEquals("msg", exception.getLocalizedMessage()); 76 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception [all...] |
| UnsupportedOperationExceptionTest.java | 49 Throwable emptyThrowable = new Exception(); 56 Throwable throwable = new Exception("msg"); 57 UnsupportedOperationException exception = new UnsupportedOperationException(throwable); local 58 assertEquals(throwable.getClass().getName() + ": " + "msg", exception.getMessage()); 67 Throwable emptyThrowable = new Exception(); 74 Throwable throwable = new Exception("msg_exception"); 75 UnsupportedOperationException exception = new UnsupportedOperationException( local 77 assertEquals("msg", exception.getMessage()); 78 assertEquals("msg", exception.getLocalizedMessage()); 79 assertEquals(throwable.getClass().getName() + ": " + throwable.getMessage(), exception [all...] |
| /art/runtime/entrypoints/portable/ |
| portable_throw_entrypoints.cc | 51 extern "C" void art_portable_throw_exception_from_code(mirror::Throwable* exception) 55 if (exception == NULL) { 56 ThrowNullPointerException(NULL, "throw with null exception"); 58 self->SetException(throw_location, exception); 66 mirror::Throwable* exception = self->GetException(NULL); local 68 return exception; 76 mirror::Throwable* exception = self->GetException(&throw_location); local 77 // Check for special deoptimization exception. 78 if (UNLIKELY(reinterpret_cast<intptr_t>(exception) == -1)) { 81 mirror::Class* exception_type = exception->GetClass() [all...] |
| /cts/tests/tests/content/src/android/content/pm/cts/ |
| PackageManager_NameNotFoundExceptionTest.java | 27 PackageManager.NameNotFoundException exception = new PackageManager.NameNotFoundException(); local 29 throw exception; 35 exception = new PackageManager.NameNotFoundException(message); 37 throw exception;
|
| /external/chromium_org/content/renderer/pepper/ |
| pepper_try_catch.h | 34 // exception if there is an error in the conversion. 49 // kDisallowObjectVars, an exception should be set if they are encountered 54 // Catches var exceptions and emits a v8 exception. 64 PP_Var* exception() { return &exception_; } function in class:content::PepperTryCatchV8 77 // Catches v8 exceptions and emits a var exception. 80 // The PP_Var exception will be placed in |exception|. The user of this class 81 // is responsible for managing the lifetime of the exception. It is valid to 82 // pass NULL for |exception| in which case no exception will be set [all...] |
| /external/chromium_org/net/tools/tld_cleanup/ |
| tld_cleanup_util.h | 19 bool exception; member in struct:net::tld_cleanup::Rule
|
| /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/ |
| networktransaction_unittest.py | 37 exception = Exception("Test exception") variable in class:NetworkTransactionTest 44 raise self.exception 53 except Exception, e: 55 self.assertEqual(e, self.exception)
|
| /external/chromium_org/tools/grit/grit/format/ |
| rc_header.py | 9 from grit import exception namespace 193 raise exception.IdRangeOverlap('ID %d was assigned to both %s and %s.'
|
| rc_header_unittest.py | 19 from grit import exception namespace 112 self.assertRaises(exception.IdRangeOverlap, self.FormatAll, grd) 131 self.assertRaises(exception.IdRangeOverlap, self.FormatAll, grd)
|
| /external/chromium_org/tools/grit/grit/gather/ |
| admin_template.py | 12 from grit import exception namespace 16 class MalformedAdminTemplateException(exception.Base):
|
| /external/chromium_org/v8/test/mjsunit/bugs/harmony/ |
| debug-blockscopes.js | 39 var exception; variable 54 exception = e; 67 exception = null; 75 assertNull(exception, test_name);
|
| /external/chromium_org/v8/test/mjsunit/ |
| debug-receiver.js | 35 var exception; variable 42 // explictly caught here and checked later because exception in the 52 exception = e; 64 exception = null; 72 assertNull(exception, test_name);
|
| /external/chromium_org/v8/test/mjsunit/es6/debug-promises/ |
| events.js | 10 var exception = null; variable 51 exception = e; 109 assertAsync(exception === null, "exception === null");
|
| /external/clang/test/CodeGenCXX/ |
| weak-external.cpp | 37 class _LIBCPP_EXCEPTION_ABI exception class in namespace:std 40 _LIBCPP_INLINE_VISIBILITY exception() _NOEXCEPT {} 41 virtual ~exception() _NOEXCEPT; 46 : public exception
|
| /external/doclava/src/com/google/doclava/ |
| ThrowsTagInfo.java | 45 public ThrowsTagInfo(String name, String kind, String text, ClassInfo exception, 48 mException = exception; 52 public ClassInfo exception() { method in class:ThrowsTagInfo
|
| /frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
| LogTest.java | 30 public void setUp() throws Exception { 35 public void tearDown() throws Exception { 82 Exception e = new Exception("My Exception"); 83 mLog.exception(e, "Test %d", 44); 86 assertTrue(mLog.getErr().startsWith("Test 44\njava.lang.Exception: My Exception"));
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
| InvalidPropertiesFormatExceptionTest.java | 29 public void test_Serialization() throws Exception { 44 InvalidPropertiesFormatException exception = new InvalidPropertiesFormatException( local 47 throwable, exception.getCause());
|
| /libcore/luni/src/main/java/java/util/concurrent/ |
| ForkJoinWorkerThread.java | 93 * @param exception the exception causing this thread to abort due 96 protected void onTermination(Throwable exception) { 105 Throwable exception = null; local 110 exception = ex; 113 onTermination(exception); 115 if (exception == null) 116 exception = ex; 118 pool.deregisterWorker(this, exception);
|
| /libcore/luni/src/main/native/ |
| java_util_regex_Pattern.cpp | 70 jobject exception = env->NewObject(exceptionClass, method, message, pattern, error.offset); local 71 env->Throw(reinterpret_cast<jthrowable>(exception));
|
| /development/ndk/sources/android/libportable/arch-x86/ |
| fenv.c | 28 int exception = flags & FE_ALL_EXCEPT_PORTABLE; local 30 // exception flags 31 if (exception & FE_INVALID_PORTABLE) 33 if (exception & FE_DIVBYZERO_PORTABLE) 35 if (exception & FE_OVERFLOW_PORTABLE) 37 if (exception & FE_UNDERFLOW_PORTABLE) 39 if (exception & FE_INEXACT_PORTABLE) 72 int exception = x86flags & FE_ALL_EXCEPT; local 74 // exception flags 75 if (exception & FE_INVALID [all...] |
| /external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
| ObjectFactory.java | 63 //throw security exception if the calling thread is not allowed to access the 127 /** Exception. */ 128 private Exception exception; field in class:ObjectFactory.ConfigurationError 136 * exception. 138 ConfigurationError(String msg, Exception x) { 140 this.exception = x; 141 } // <init>(String,Exception) 147 /** Returns the exception associated to this error. */ 148 Exception getException() [all...] |
| /external/apache-xml/src/main/java/org/apache/xml/utils/ |
| DefaultErrorHandler.java | 47 * if this flag is set to true, we will rethrow the exception on 112 * @param exception The warning information encapsulated in a 113 * SAX parse exception. 114 * @throws SAXException Any SAX exception, possibly 115 * wrapping another exception. 117 public void warning(SAXParseException exception) throws SAXException 121 printLocation(pw, exception); 122 pw.println("Parser warning: " + exception.getMessage()); 141 * @param exception The error information encapsulated in a 142 * SAX parse exception [all...] |
| /external/chromium_org/components/crash/app/ |
| hard_error_handler_win.cc | 33 // We assume that exception codes are NT_STATUS codes. 102 long exception = ex_info->ExceptionRecord->ExceptionCode; local 103 if (exception == kExceptionModuleNotFound) { 106 } else if (exception == kExceptionEntryPtNotFound) { 109 } else if (FacilityFromException(exception) == FACILITY_GRAPHICS_KERNEL) { 111 RaiseHardErrorMsg(exception, std::string(), std::string());
|
| /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
| V8ThrowException.cpp | 66 v8::Handle<v8::Value> exception = toV8(domException, creationContext, isolate); local 68 if (exception.IsEmpty()) 72 v8::Handle<v8::Value> error = v8::Exception::Error(v8String(isolate, domException->message())); 74 ASSERT(exception->IsObject()); 75 exception->ToObject()->SetAccessor(v8AtomicString(isolate, "stack"), domExceptionStackGetter, domExceptionStackSetter, error); 77 return exception; 83 v8::Handle<v8::Value> exception = createDOMException(ec, sanitizedMessage, unsanitizedMessage, creationContext, isolate); local 84 if (exception.IsEmpty()) 87 return V8ThrowException::throwException(exception, isolate); 92 return v8::Exception::Error(v8String(isolate, message.isNull() ? "Error" : message)) 97 v8::Handle<v8::Value> exception = V8ThrowException::createGeneralError(message, isolate); local 108 v8::Handle<v8::Value> exception = V8ThrowException::createTypeError(message, isolate); local 119 v8::Handle<v8::Value> exception = V8ThrowException::createRangeError(message, isolate); local 130 v8::Handle<v8::Value> exception = V8ThrowException::createSyntaxError(message, isolate); local 141 v8::Handle<v8::Value> exception = V8ThrowException::createReferenceError(message, isolate); local [all...] |