/frameworks/base/core/tests/coretests/src/android/content/pm/ |
LimitedLengthInputStreamTest.java | 33 protected void setUp() throws Exception { 40 public void testConstructor_NegativeOffset_Failure() throws Exception { 50 public void testConstructor_NegativeLength_Failure() throws Exception { 60 public void testConstructor_NullInputStream_Failure() throws Exception { 70 public void testConstructor_OffsetLengthOverflow_Fail() throws Exception { 81 throws Exception { 99 throws Exception { 105 throws Exception { 110 public void testReadBytesWithOffsetAndLength_ZeroOffset_FullLength_Success() throws Exception { 116 throws Exception { [all...] |
/external/chromium_org/content/renderer/pepper/ |
ppb_var_deprecated_impl.cc | 100 // given PP_Var. The module from the object will be used for the exception 104 // an exception if it's invalid. At the end of construction, if there is no 105 // exception, you know that there is no previously set exception, that the 111 ObjectAccessorTryCatch(PP_Var object, PP_Var* exception) 112 : TryCatch(exception), 136 // exception if it's invalid. 138 // At the end of construction, if there is no exception, you know that there is 139 // no previously set exception, that the object passed in is valid and ready to 147 PP_Var* exception) [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
PullParserTest.java | 27 public void testAttributeNoValueWithRelaxed() throws Exception { 37 public void testAttributeUnquotedValueWithRelaxed() throws Exception { 47 public void testUnterminatedEntityWithRelaxed() throws Exception { 59 public void testEntitiesAndNamespaces() throws Exception { 67 public void testEntitiesAndNamespacesWithRelaxed() throws Exception { 76 private void testNamespace(XmlPullParser parser) throws Exception { 91 public void testRegularNumericEntities() throws Exception { 100 public void testNumericEntitiesLargerThanChar() throws Exception { 104 public void testNumericEntitiesLargerThanInt() throws Exception { 108 public void testCharacterReferenceOfHexUtf16Surrogates() throws Exception { [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
DOMErrorImpl.java | 48 // The platform related exception
49 private Exception fException = null;
54 // The location of the exception
83 * @param exception
86 Exception exception) {
90 fException = exception;
97 * @param exception
102 Exception exception, Object relatedData, DOMLocatorImpl location) { [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
VideoViewTest.java | 24 @Before public void setUp() throws Exception { 29 public void shouldSetOnPreparedListener() throws Exception { 37 public void shouldSetOnErrorListener() throws Exception { 45 public void shouldSetOnCompletionListener() throws Exception { 53 public void shouldSetVideoPath() throws Exception { 62 public void shouldSetVideoURI() throws Exception { 71 public void shoulDetermineIsPlaying() throws Exception { 80 public void shouldStartPlaying() throws Exception { 87 public void shouldStopPlayback() throws Exception { 94 public void shouldSuspendPlaying() throws Exception { [all...] |
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
DefaultHandler.java | 83 * @exception java.io.IOException If there is an error setting 85 * @exception org.xml.sax.SAXException Any SAX exception, possibly 86 * wrapping another exception. 114 * @exception org.xml.sax.SAXException Any SAX exception, possibly 115 * wrapping another exception. 137 * @exception org.xml.sax.SAXException Any SAX exception, possibly 138 * wrapping another exception [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
ArrayStoreExceptionTest.java | 22 public void testArrayStoreException_store1() throws Exception { 24 Object o = new Exception(); 30 assertEquals("java.lang.Exception cannot be stored in an array of type " 36 public void testArrayStoreException_store2() throws Exception { 49 public void testArrayStoreException_store3() throws Exception { 62 public void testArrayStoreException_arraycopy1() throws Exception { 75 public void testArrayStoreException_arraycopy2() throws Exception { 86 public void testArrayStoreException_arraycopy3() throws Exception { 97 public void testArrayStoreException_arraycopy4() throws Exception { 108 public void testArrayStoreException_arraycopy5() throws Exception { [all...] |
OldAndroidInstanceofTest.java | 31 protected void setUp() throws Exception { 43 public void testNoInterface() throws Exception { 50 public void testDerivedOne() throws Exception { 57 public void testDerivedTwo() throws Exception { 64 public void testDerivedThree() throws Exception { 71 public void testDerivedFour() throws Exception { 78 public void testSuccessClass() throws Exception { 85 public void testSuccessInterface() throws Exception { 92 public void testFailInterface() throws Exception {
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
KeyManagerFactorySpiTest.java | 40 } catch (Exception e) { 41 fail("Unexpected Exception " + e.toString()); 58 } catch (Exception e) { 67 } catch (Exception e) { 77 } catch (Exception e) { 85 } catch (Exception e) { 86 fail("Unexpected exception " + e); 101 } catch (Exception e) { 109 } catch (Exception e) { 110 fail(e + " unexpected exception was thrown") [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
IllegalArgumentExceptionTest.java | 49 Throwable emptyThrowable = new Exception(); 55 Throwable exception = new Exception("msg"); local 56 IllegalArgumentException e = new IllegalArgumentException(exception); 57 assertEquals(exception.getClass().getName() + ": " + "msg", e.getMessage()); 58 assertEquals(exception.getClass().getName(), emptyException.getLocalizedMessage()); 59 assertEquals(exception.getClass().getName(), emptyException.getCause().toString()); 77 public void testSerializationSelf() throws Exception { 84 public void testSerializationCompatibility() throws Exception {
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
DTMConfigurationException.java | 43 * @param msg The error message for the exception. 51 * given <code>Exception</code> base cause of the error. 53 * @param e The exception to be encapsulated in a 62 * given <code>Exception</code> base cause and detail message. 65 * @param e The exception to be wrapped in a DTMConfigurationException 75 * creating its own exception from within a DocumentHandler 87 * Wrap an existing exception in a DTMConfigurationException. 90 * use the message from the embedded exception. 92 * @param e Any exception.
|
/external/chromium_org/chrome/browser/resources/options/ |
content_settings.css | 13 .exception-pattern { 19 .exception-setting { 24 select.exception-setting { 28 #exception-column-headers { 34 #exception-column-headers > div { 38 #exception-pattern-column { 42 #exception-behavior-column { 106 .exception-setting.media-audio-setting { 110 .exception-setting.media-video-setting {
|
/external/guava/guava-tests/test/com/google/common/testing/ |
TestLogHandlerTest.java | 35 @Override protected void setUp() throws Exception { 47 public void tearDown() throws Exception { 54 public void test() throws Exception { 60 assertSame(EXCEPTION, record.getThrown()); 63 public void testConcurrentModification() throws Exception { 87 static final Exception EXCEPTION = new Exception(); 94 logger.log(Level.INFO, "message", EXCEPTION);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AbstractScheduledServiceTest.java | 59 public void testServiceStartStop() throws Exception { 68 @Override protected void runOneIteration() throws Exception { } 69 @Override protected void startUp() throws Exception { } 70 @Override protected void shutDown() throws Exception { } 75 public void testFailOnExceptionFromRun() throws Exception { 77 service.runException = new Exception(); 85 // An execution exception holds a runtime exception (from throwables.propogate) that holds our 86 // original exception. 94 service.startUpException = new Exception(); [all...] |
/external/v8/test/mjsunit/regress/ |
regress-1170.js | 45 var exception = false; variable 49 exception = true; 52 assertFalse(exception); 54 exception = false; 58 exception = true; 61 assertTrue(exception); 64 exception = false; 68 exception = true; 72 assertTrue(exception);
|
/frameworks/base/test-runner/tests/src/android/test/ |
TestCaseUtilTest.java | 27 public void testGetTestCaseNamesForTestSuiteWithSuiteMethod() throws Exception { 37 public void testGetTestCaseNamesForTestCaseWithSuiteMethod() throws Exception { 46 public void testCreateTestForTestCase() throws Exception { 51 public void testCreateTestForTestSuiteWithSuiteMethod() throws Exception { 56 public void testCreateTestForTestCaseWithSuiteMethod() throws Exception { 61 public void testReturnEmptyStringForTestSuiteWithNoName() throws Exception { 66 public void testOne() throws Exception { 77 public void testOne() throws Exception { 80 public void testTwo() throws Exception {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
WrappedByteBufferTest.java | 23 protected void setUp() throws Exception { 29 protected void tearDown() throws Exception { 43 fail("Should throw Exception"); //$NON-NLS-1$ 49 fail("Should throw Exception"); //$NON-NLS-1$ 55 fail("Should throw Exception"); //$NON-NLS-1$ 61 fail("Should throw Exception"); //$NON-NLS-1$ 67 fail("Should throw Exception"); //$NON-NLS-1$ 73 fail("Should throw Exception"); //$NON-NLS-1$ 79 fail("Should throw Exception"); //$NON-NLS-1$
|
/libcore/luni/src/main/java/javax/xml/transform/ |
TransformerConfigurationException.java | 39 * @param msg The error message for the exception. 47 * given <code>Exception</code> base cause of the error. 49 * @param e The exception to be encapsulated in a 58 * given <code>Exception</code> base cause and detail message. 60 * @param e The exception to be encapsulated in a 72 * creating its own exception from within a DocumentHandler 84 * Wrap an existing exception in a TransformerConfigurationException. 87 * use the message from the embedded exception. 89 * @param e Any exception.
|
/libcore/luni/src/main/java/org/xml/sax/ |
HandlerBase.java | 71 * @exception org.xml.sax.SAXException Any SAX exception, possibly 72 * wrapping another exception. 161 * @exception org.xml.sax.SAXException Any SAX exception, possibly 162 * wrapping another exception. 180 * @exception org.xml.sax.SAXException Any SAX exception, possibly 181 * wrapping another exception. 201 * @exception org.xml.sax.SAXException Any SAX exception, possibl [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
ECDHKeyAgreementTest.java | 85 } catch (Exception e) { 95 public void testKnownAnswer() throws Exception { 123 Provider keyAgreementProvider) throws Exception { 130 public void testGetAlgorithm() throws Exception { 134 void testGetAlgorithm(Provider provider) throws Exception { 138 public void testGetProvider() throws Exception { 142 void testGetProvider(Provider provider) throws Exception { 146 public void testInit_withNullPrivateKey() throws Exception { 150 void testInit_withNullPrivateKey(Provider provider) throws Exception { 158 public void testInit_withUnsupportedPrivateKeyType() throws Exception { [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
ArrayTest.java | 36 } catch (Exception e) { 37 fail("Exception during get test : " + e.getMessage()); 48 fail("Passing non-array failed to throw exception"); 58 fail("Invalid index failed to throw exception"); 67 } catch (Exception e) { 68 fail("Exception during get test : " + e.getMessage()); 79 fail("Passing non-array failed to throw exception"); 89 fail("Invalid index failed to throw exception"); 104 } catch (Exception e) { 105 fail("Exception during get test : " + e.getMessage()) [all...] |
MethodTest.java | 175 static class ExceptionTest<T extends Exception>{ 204 } catch (Exception e) { 205 fail("Exception during equals test : " + e.getMessage()); 213 } catch (Exception e) { 214 fail("Exception during equals test : " + e.getMessage()); 253 } catch (Exception e) { 254 fail("Exception during getDeclaringClass test: " 271 assertTrue("Returned incorrect exception type", ex[0] 277 } catch (Exception e) { 278 fail("Exception during getExceptionTypes: " + e.toString()) [all...] |
/packages/apps/Email/src/com/android/email/service/ |
PolicyService.java | 42 // Catch, log and rethrow the exception, as otherwise when the exception is 44 LogUtils.e(LOG_TAG, e, "Exception thrown during call to SecurityPolicy#isActive"); 59 // Catch, log and rethrow the exception, as otherwise when the exception is 61 LogUtils.e(LOG_TAG, e, "Exception thrown during call to SecurityPolicy#remoteWipe"); 71 // Catch, log and rethrow the exception, as otherwise when the exception is 74 "Exception thrown from call to SecurityPolicy#setAccountPolicy");
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/ |
functexcept.h | 1 // Function-Based Exception Support -*- C++ -*- 17 // permissions described in the GCC Runtime Library Exception, version 21 // a copy of the GCC Runtime Library Exception along with this program; 30 // ISO C++ 14882: 19.1 Exception classes 41 // Helper for exception objects in <except> 45 // Helper for exception objects in <new> 49 // Helper for exception objects in <typeinfo> 56 // Helpers for exception objects in <stdexcept> 84 // Helpers for exception objects in <ios>
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
functexcept.h | 1 // Function-Based Exception Support -*- C++ -*- 17 // permissions described in the GCC Runtime Library Exception, version 21 // a copy of the GCC Runtime Library Exception along with this program; 30 // ISO C++ 14882: 19.1 Exception classes 41 // Helper for exception objects in <except> 45 // Helper for exception objects in <new> 49 // Helper for exception objects in <typeinfo> 56 // Helpers for exception objects in <stdexcept> 84 // Helpers for exception objects in <ios>
|