| /external/chromium_org/tools/grit/grit/ |
| grd_reader_unittest.py | 16 from grit import exception namespace 272 (exception.UnexpectedContent, u'<part file="x">fnord</part>'), 273 (exception.UnexpectedChild, 281 (exception.UnexpectedAttribute, u'<grit-part file="xyz"></grit-part>'), 282 (exception.MissingElement, u'<output filename="x" type="y" />'),
|
| /external/chromium_org/tools/grit/grit/node/ |
| misc_unittest.py | 18 import grit.exception namespace 29 self.fail('Expected parsing exception because of duplicate names.') 30 except grit.exception.Parsing: 288 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 300 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 313 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 322 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 336 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 349 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 362 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml [all...] |
| /external/chromium_org/v8/test/mjsunit/ |
| array-reduce.js | 414 var exception = false; variable 418 exception = true; 424 assertTrue(exception); 426 exception = false; 430 exception = true; 436 assertTrue(exception); 438 exception = false; 442 exception = true; 448 assertTrue(exception); 450 exception = false [all...] |
| /external/chromium_org/v8/test/mjsunit/harmony/ |
| debug-blockscopes.js | 40 var exception; variable 55 exception = e; 68 exception = null; 76 assertNull(exception, test_name);
|
| /external/droiddriver/src/com/google/android/droiddriver/instrumentation/ |
| InstrumentationDriver.java | 63 Throwable exception; field in class:InstrumentationDriver.FindRootViewRunnable 81 exception = e; 91 if (findRootViewRunnable.exception != null) { 92 throw new DroidDriverException(findRootViewRunnable.exception);
|
| /external/droiddriver/src/com/google/android/droiddriver/scroll/ |
| StepBasedScroller.java | 100 ElementNotFoundException exception = new ElementNotFoundException(itemFinder); local 106 Logs.logfmt(Log.WARN, exception, "Scrolled %s %d times; ScrollStepStrategy=%s", 115 throw exception;
|
| /external/emma/core/java12/com/vladium/util/exception/ |
| AbstractException.java | 9 package com.vladium.util.exception; 20 * This checked exception class is designed as a base/expansion point for the 30 * <LI> exception chaining in J2SE versions prior to 1.4 39 * <CODE>com.vladium.exception.exceptions</CODE> resource bundle 40 * or your project/exception class-specific resource bundle [see 53 * catch (Exception e) 58 * where <CODE>com.vladium.util.exception.exceptions</CODE> contains: 63 * To log exception data use {@link #getMessage} or <CODE>printStackTrace</CODE> 66 * <A NAME="details"> It is also possible to use project- or exception 68 * codes in <CODE>com.vladium.exception.exceptions</CODE>. To do so, create [all...] |
| AbstractRuntimeException.java | 9 package com.vladium.util.exception; 20 * This unchecked exception class is designed as a base/expansion point for the 30 * <LI> exception chaining in J2SE versions prior to 1.4 39 * <CODE>com.vladium.exception.exceptions</CODE> resource bundle 40 * or your project/exception class-specific resource bundle [see 53 * catch (Exception e) 58 * where <CODE>com.vladium.util.exception.exceptions</CODE> contains: 63 * To log exception data use {@link #getMessage} or <CODE>printStackTrace</CODE> 66 * <A NAME="details"> It is also possible to use project- or exception 68 * codes in <CODE>com.vladium.exception.exceptions</CODE>. To do so, create [all...] |
| /external/guava/guava-tests/test/com/google/common/base/ |
| AbstractIteratorTest.java | 73 fail("no exception thrown"); 78 public void testSneakyThrow() throws Exception { 92 // The first time, the sneakily-thrown exception comes out 95 fail("No exception thrown"); 96 } catch (Exception e) { 105 fail("No exception thrown"); 111 final SomeUncheckedException exception = new SomeUncheckedException(); local 114 throw exception; 121 fail("No exception thrown"); 123 assertSame(exception, e) [all...] |
| /external/junit/src/junit/framework/ |
| TestCase.java | 128 * @throws Throwable if any exception is thrown 131 Throwable exception= null; local 136 exception= running; 142 if (exception == null) exception= tearingDown; 145 if (exception != null) throw exception; 149 * @throws Throwable if any exception is thrown 183 protected void setUp() throws Exception { 189 protected void tearDown() throws Exception { [all...] |
| /external/junit/src/org/junit/internal/runners/statements/ |
| FailOnTimeout.java | 41 private void throwTimeoutException(StatementThread thread) throws Exception { 42 Exception exception= new Exception(String.format( local 44 exception.setStackTrace(thread.getStackTrace()); 45 throw exception;
|
| /external/objenesis/tck/test/org/objenesis/tck/ |
| TextReporterTest.java | 33 protected void setUp() throws Exception { 60 textReporter.exception(new RuntimeException("Problem"));
|
| /art/compiler/driver/ |
| compiler_driver_test.cc | 172 // Force non-virtual call to AbstractClass foo, will throw AbstractMethodError exception. 175 jthrowable exception = env_->ExceptionOccurred(); local 178 EXPECT_TRUE(env_->IsInstanceOf(exception, jlame));
|
| /art/compiler/llvm/ |
| runtime_support_builder.cc | 139 /* Exception */ 147 Value* exception = EmitLoadFromThreadOffset(Thread::ExceptionOffset().Int32Value(), local 150 // If exception not null 151 return irb_.CreateIsNotNull(exception);
|
| /art/runtime/entrypoints/ |
| entrypoint_utils.cc | 127 // Avoid running Java code for exception initialization. 186 // Throw the exception. 309 // In the case of checked exceptions that aren't declared, the exception must be wrapped by 311 mirror::Throwable* exception = soa.Self()->GetException(NULL); local 312 if (exception->IsCheckedException()) { 330 mirror::Class* exception_class = exception->GetClass();
|
| /art/runtime/interpreter/ |
| interpreter_switch_impl.cc | 167 Throwable* exception = self->GetException(nullptr); local 168 DCHECK(exception != nullptr) << "No pending exception on MOVE_EXCEPTION instruction"; 169 shadow_frame.SetVRegReference(inst->VRegA_11x(inst_data), exception); 258 // Return the pending exception. 532 Object* exception = shadow_frame.GetVRegReference(inst->VRegA_11x(inst_data)); local 533 if (UNLIKELY(exception == NULL)) { 534 ThrowNullPointerException(NULL, "throw with null exception"); 535 } else if (do_assignability_check && !exception->GetClass()->IsThrowableClass()) { 541 exception->GetClass()->GetDescriptor(&temp)) [all...] |
| /external/antlr/antlr-3.4/runtime/C/include/ |
| antlr3recognizersharedstate.h | 59 /** If set to ANTLR3_TRUE then the recognizer has an exception 68 pANTLR3_EXCEPTION exception; member in struct:ANTLR3_RECOGNIZER_SHARED_STATE_struct
|
| /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...] |
| NewInstance002Test.java | 46 * is expected int value and returned exception object is null. 115 // Make NewInstance without Exception 126 logWriter.println(" Send ClassType.NewInstance (without Exception)"); 133 TaggedObject exception = reply.getNextValueAsTaggedObject(); local 134 logWriter.println(" ClassType.NewInstance: exception.tag=" 135 + exception.tag + "; exception.objectID=" + exception.objectID); 143 assertNotNull("exception is null", newObject); 144 assertEquals("ClassType::NewInstance returned invalid exception.objectID,", 0, exception.objectID) [all...] |
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/ |
| InvokeMethod002Test.java | 45 * exception object is null. 148 logWriter.println(" Send ObjectReference.InvokeMethod without Exception"); 158 TaggedObject exception = reply.getNextValueAsTaggedObject(); local 159 assertNotNull("Returned exception is null", exception); 160 assertTrue("Invalid exception object ID:<" + exception.objectID + ">", exception.objectID == 0); 161 assertEquals("Invalid exception tag,", JDWPConstants.Tag.OBJECT_TAG, exception.ta [all...] |
| InvokeMethod003Test.java | 47 * exception object is null. 152 logWriter.println(" Send ObjectReference.InvokeMethod without Exception"); 167 TaggedObject exception = reply.getNextValueAsTaggedObject(); local 168 assertNotNull("Returned exception is null", exception); 169 assertTrue("Invalid exception object ID:<" + exception.objectID + ">", exception.objectID == 0); 170 assertEquals("Invalid exception tag,", JDWPConstants.Tag.OBJECT_TAG, exception.ta [all...] |
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
| StopDebuggee.java | 38 * 'Stop' command with NullPointerException exception. 66 public static final String FIELD_NAME = "exception"; 68 public static NullPointerException exception = new NullPointerException(); field in class:StopDebuggee 118 logWriter.println(getName() + ": FAILED: TIMEOUT is run out - No any exception is caught"); 121 logWriter.println(getName() + ": Exception is caught: " + thrown); 122 if ( thrown.equals(exception) ) { 123 logWriter.println(getName() + ": PASSED: It is expected Exception"); 125 logWriter.println(getName() + ": FAILED: It is unexpected Exception");
|
| /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...] |
| /external/chromium_org/ppapi/tests/ |
| test_instance_deprecated.cc | 27 bool InstanceSO::HasMethod(const pp::Var& name, pp::Var* exception) { 37 pp::Var* exception) { 44 *exception = pp::Var("Bad argument to SetValue(<string>)"); 49 *exception = pp::Var("Bad argument to SetException(<string>)"); 51 *exception = args[0]; 54 *exception = pp::Var("Need single arg to call ReturnValue"); 58 *exception = pp::Var("Bad function call"); 138 pp::Var exception; local 141 &exception); 143 ASSERT_TRUE(exception.is_undefined()) 248 pp::Var exception; local [all...] |
| test_var_deprecated.cc | 32 bool HasMethod(const pp::Var& name, pp::Var* exception); 35 pp::Var* exception); 41 bool VarScriptableObject::HasMethod(const pp::Var& name, pp::Var* exception) { 49 pp::Var* exception) { 56 *exception = pp::Var("Bad argument to SetValue(<value>)"); 300 pp::Var exception; local 301 ASSERT_TRUE(window.HasProperty("scrollX", &exception)); 302 ASSERT_TRUE(exception.is_undefined()); 303 ASSERT_FALSE(window.HasMethod("scrollX", &exception)); 304 ASSERT_TRUE(exception.is_undefined()) 369 pp::Var exception; local [all...] |