Home
last modified time | relevance | path

Searched refs:getCause (Results 1 – 25 of 224) sorted by relevance

123456789

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DAssertionErrorTest.java27 assertNull(e.getCause()); in test_Constructor()
34 assertNull(e.getCause()); in test_ConstructorObject()
39 assertSame(npe, e.getCause()); in test_ConstructorObject()
45 assertNull(e.getCause()); in test_ConstructorBoolean()
51 assertNull(e.getCause()); in test_ConstructorChar()
57 assertNull(e.getCause()); in test_ConstructorInt()
63 assertNull(e.getCause()); in test_ConstructorLong()
69 assertNull(e.getCause()); in test_ConstructorFloat()
75 assertNull(e.getCause()); in test_ConstructorDouble()
DUnsupportedOperationExceptionTest.java33 assertNull(e.getCause()); in test_Constructor()
42 assertNull(e.getCause()); in test_ConstructorLjava_lang_String()
54 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable()
60 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable()
72 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
80 .getCause().toString()); in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
DIllegalStateExceptionTest.java33 assertNull(e.getCause()); in test_Constructor()
42 assertNull(e.getCause()); in test_ConstructorLjava_lang_String()
53 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable()
59 assertEquals(throwable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_Throwable()
70 assertEquals(emptyThrowable.getClass().getName(), emptyException.getCause().toString()); in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
77 .getCause().toString()); in test_ConstructorLjava_lang_StringLjava_lang_Throwable()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DFactoryConfigurationErrorTest.java28 assertNull(fce.getCause()); in test_Constructor()
38 assertEquals(e.getCause(), fce.getCause()); in test_ConstructorLjava_lang_Exception()
46 assertEquals(e.getCause(), fce.getCause()); in test_ConstructorLjava_lang_Exception()
56 assertEquals(e.getCause(), fce.getCause()); in test_ConstructorLjava_lang_ExceptionLjava_lang_String()
64 assertEquals(e.getCause(), fce.getCause()); in test_ConstructorLjava_lang_ExceptionLjava_lang_String()
71 assertNull(fce.getCause()); in test_ConstructorLjava_lang_String()
/libcore/luni/src/test/java/tests/security/cert/
DCertificateExceptionTest.java50 assertNull("getCause() must return null", tE.getCause()); in testCertificateException01()
64 assertNull("getCause() must return null", tE.getCause()); in testCertificateException02()
77 assertNull("getCause() must return null", tE.getCause()); in testCertificateException03()
89 assertNull("getCause() must return null", tE.getCause()); in testCertificateException04()
105 assertNotNull("getCause() must not return null", tE.getCause()); in testCertificateException05()
107 .getCause(), tCause); in testCertificateException05()
118 assertNull("getCause() must return null", tE.getCause()); in testCertificateException06()
132 assertNull("getCause() must return null", tE.getCause()); in testCertificateException07()
149 assertNotNull("getCause() must not return null", tE.getCause()); in testCertificateException08()
151 .getCause(), tCause); in testCertificateException08()
[all …]
DCRLExceptionTest.java49 assertNull("getCause() must return null", tE.getCause()); in testCRLException01()
63 assertNull("getCause() must return null", tE.getCause()); in testCRLException02()
75 assertNull("getCause() must return null", tE.getCause()); in testCRLException03()
86 assertNull("getCause() must return null", tE.getCause()); in testCRLException04()
101 assertNotNull("getCause() must not return null", tE.getCause()); in testCRLException05()
103 .getCause(), tCause); in testCRLException05()
114 assertNull("getCause() must return null", tE.getCause()); in testCRLException06()
128 assertNull("getCause() must return null", tE.getCause()); in testCRLException07()
145 assertNotNull("getCause() must not return null", tE.getCause()); in testCRLException08()
147 .getCause(), tCause); in testCRLException08()
[all …]
DCertPathBuilderExceptionTest.java51 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException01()
65 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException02()
78 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException03()
90 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException04()
106 assertNotNull("getCause() must not return null", tE.getCause()); in testCertPathBuilderException05()
108 .getCause(), tCause); in testCertPathBuilderException05()
119 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException06()
133 assertNull("getCause() must return null", tE.getCause()); in testCertPathBuilderException07()
150 assertNotNull("getCause() must not return null", tE.getCause()); in testCertPathBuilderException08()
152 .getCause(), tCause); in testCertPathBuilderException08()
[all …]
DCertificateEncodingExceptionTest.java51 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException01()
65 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException02()
78 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException03()
91 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException04()
108 assertNotNull("getCause() must not return null", tE.getCause()); in testCertificateEncodingException05()
110 .getCause(), tCause); in testCertificateEncodingException05()
122 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException06()
136 assertNull("getCause() must return null", tE.getCause()); in testCertificateEncodingException07()
154 assertNotNull("getCause() must not return null", tE.getCause()); in testCertificateEncodingException08()
156 .getCause(), tCause); in testCertificateEncodingException08()
[all …]
DCertificateParsingExceptionTest.java51 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException01()
65 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException02()
78 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException03()
90 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException04()
106 assertNotNull("getCause() must not return null", tE.getCause()); in testCertificateParsingException05()
108 .getCause(), tCause); in testCertificateParsingException05()
120 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException06()
134 assertNull("getCause() must return null", tE.getCause()); in testCertificateParsingException07()
152 assertNotNull("getCause() must not return null", tE.getCause()); in testCertificateParsingException08()
154 .getCause(), tCause); in testCertificateParsingException08()
[all …]
DCertStoreExceptionTest.java49 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException01()
63 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException02()
75 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException03()
87 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException04()
103 assertNotNull("getCause() must not return null", tE.getCause()); in testCertStoreException05()
105 .getCause(), tCause); in testCertStoreException05()
116 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException06()
130 assertNull("getCause() must return null", tE.getCause()); in testCertStoreException07()
147 assertNotNull("getCause() must not return null", tE.getCause()); in testCertStoreException08()
149 .getCause(), tCause); in testCertStoreException08()
[all …]
DCertPathValidatorExceptionTest.java62 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException01()
76 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException02()
89 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException03()
101 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException04()
117 assertNotNull("getCause() must not return null", tE.getCause()); in testCertPathValidatorException05()
119 .getCause(), tCause); in testCertPathValidatorException05()
131 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException06()
145 assertNull("getCause() must return null", tE.getCause()); in testCertPathValidatorException07()
163 assertNotNull("getCause() must not return null", tE.getCause()); in testCertPathValidatorException08()
165 .getCause(), tCause); in testCertPathValidatorException08()
[all …]
/libcore/luni/src/test/java/tests/security/spec/
DInvalidKeySpecExceptionTest.java50 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException01()
64 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException02()
77 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException03()
89 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException04()
105 assertNotNull("getCause() must not return null", tE.getCause()); in testInvalidKeySpecException05()
107 .getCause(), tCause); in testInvalidKeySpecException05()
118 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException06()
132 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeySpecException07()
149 assertNotNull("getCause() must not return null", tE.getCause()); in testInvalidKeySpecException08()
151 .getCause(), tCause); in testInvalidKeySpecException08()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderExceptionTest.java49 assertNull("getCause() must return null", tE.getCause()); in testProviderException01()
63 assertNull("getCause() must return null", tE.getCause()); in testProviderException02()
75 assertNull("getCause() must return null", tE.getCause()); in testProviderException03()
86 assertNull("getCause() must return null", tE.getCause()); in testProviderException04()
102 assertNotNull("getCause() must not return null", tE.getCause()); in testProviderException05()
104 .getCause(), tCause); in testProviderException05()
115 assertNull("getCause() must return null", tE.getCause()); in testProviderException06()
129 assertNull("getCause() must return null", tE.getCause()); in testProviderException07()
146 assertNotNull("getCause() must not return null", tE.getCause()); in testProviderException08()
148 .getCause(), tCause); in testProviderException08()
[all …]
DDigestExceptionTest.java49 assertNull("getCause() must return null", tE.getCause()); in testDigestException01()
63 assertNull("getCause() must return null", tE.getCause()); in testDigestException02()
75 assertNull("getCause() must return null", tE.getCause()); in testDigestException03()
86 assertNull("getCause() must return null", tE.getCause()); in testDigestException04()
101 assertNotNull("getCause() must not return null", tE.getCause()); in testDigestException05()
103 .getCause(), tCause); in testDigestException05()
114 assertNull("getCause() must return null", tE.getCause()); in testDigestException06()
128 assertNull("getCause() must return null", tE.getCause()); in testDigestException07()
145 assertNotNull("getCause() must not return null", tE.getCause()); in testDigestException08()
147 .getCause(), tCause); in testDigestException08()
[all …]
DKeyStoreExceptionTest.java49 assertNull("getCause() must return null", tE.getCause()); in testKeyStoreException01()
63 assertNull("getCause() must return null", tE.getCause()); in testKeyStoreException02()
75 assertNull("getCause() must return null", tE.getCause()); in testKeyStoreException03()
86 assertNull("getCause() must return null", tE.getCause()); in testKeyStoreException04()
102 assertNotNull("getCause() must not return null", tE.getCause()); in testKeyStoreException05()
104 .getCause(), tCause); in testKeyStoreException05()
115 assertNull("getCause() must return null", tE.getCause()); in testKeyStoreException06()
129 assertNull("getCause() must return null", tE.getCause()); in testKeyStoreException07()
146 assertNotNull("getCause() must not return null", tE.getCause()); in testKeyStoreException08()
148 .getCause(), tCause); in testKeyStoreException08()
[all …]
DKeyExceptionTest.java49 assertNull("getCause() must return null", tE.getCause()); in testKeyException01()
63 assertNull("getCause() must return null", tE.getCause()); in testKeyException02()
75 assertNull("getCause() must return null", tE.getCause()); in testKeyException03()
86 assertNull("getCause() must return null", tE.getCause()); in testKeyException04()
101 assertNotNull("getCause() must not return null", tE.getCause()); in testKeyException05()
103 .getCause(), tCause); in testKeyException05()
114 assertNull("getCause() must return null", tE.getCause()); in testKeyException06()
128 assertNull("getCause() must return null", tE.getCause()); in testKeyException07()
145 assertNotNull("getCause() must not return null", tE.getCause()); in testKeyException08()
147 .getCause(), tCause); in testKeyException08()
[all …]
DInvalidKeyExceptionTest.java49 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeyException01()
63 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeyException02()
75 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeyException03()
87 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeyException04()
103 assertNotNull("getCause() must not return null", tE.getCause()); in testInvalidKeyException05()
105 .getCause(), tCause); in testInvalidKeyException05()
116 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeyException06()
130 assertNull("getCause() must return null", tE.getCause()); in testInvalidKeyException07()
147 assertNotNull("getCause() must not return null", tE.getCause()); in testInvalidKeyException08()
149 .getCause(), tCause); in testInvalidKeyException08()
[all …]
DKeyManagementExceptionTest.java50 assertNull("getCause() must return null", tE.getCause()); in testKeyManagementException01()
64 assertNull("getCause() must return null", tE.getCause()); in testKeyManagementException02()
77 assertNull("getCause() must return null", tE.getCause()); in testKeyManagementException03()
89 assertNull("getCause() must return null", tE.getCause()); in testKeyManagementException04()
105 assertNotNull("getCause() must not return null", tE.getCause()); in testKeyManagementException05()
107 .getCause(), tCause); in testKeyManagementException05()
118 assertNull("getCause() must return null", tE.getCause()); in testKeyManagementException06()
132 assertNull("getCause() must return null", tE.getCause()); in testKeyManagementException07()
149 assertNotNull("getCause() must not return null", tE.getCause()); in testKeyManagementException08()
151 .getCause(), tCause); in testKeyManagementException08()
[all …]
DInvalidAlgorithmParameterExceptionTest.java51 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException01()
65 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException02()
79 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException03()
92 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException04()
109 assertNotNull("getCause() must not return null", tE.getCause()); in testInvalidAlgorithmParameterException05()
111 .getCause(), tCause); in testInvalidAlgorithmParameterException05()
124 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException06()
139 assertNull("getCause() must return null", tE.getCause()); in testInvalidAlgorithmParameterException07()
158 assertNotNull("getCause() must not return null", tE.getCause()); in testInvalidAlgorithmParameterException08()
160 .getCause(), tCause); in testInvalidAlgorithmParameterException08()
[all …]
DGeneralSecurityExceptionTest.java50 assertNull("getCause() must return null", tE.getCause()); in testGeneralSecurityException01()
64 assertNull("getCause() must return null", tE.getCause()); in testGeneralSecurityException02()
77 assertNull("getCause() must return null", tE.getCause()); in testGeneralSecurityException03()
89 assertNull("getCause() must return null", tE.getCause()); in testGeneralSecurityException04()
105 assertNotNull("getCause() must not return null", tE.getCause()); in testGeneralSecurityException05()
107 .getCause(), tCause); in testGeneralSecurityException05()
118 assertNull("getCause() must return null", tE.getCause()); in testGeneralSecurityException06()
132 assertNull("getCause() must return null", tE.getCause()); in testGeneralSecurityException07()
149 assertNotNull("getCause() must not return null", tE.getCause()); in testGeneralSecurityException08()
151 .getCause(), tCause); in testGeneralSecurityException08()
[all …]
DSignatureExceptionTest.java49 assertNull("getCause() must return null", tE.getCause()); in testSignatureException01()
63 assertNull("getCause() must return null", tE.getCause()); in testSignatureException02()
75 assertNull("getCause() must return null", tE.getCause()); in testSignatureException03()
87 assertNull("getCause() must return null", tE.getCause()); in testSignatureException04()
103 assertNotNull("getCause() must not return null", tE.getCause()); in testSignatureException05()
105 .getCause(), tCause); in testSignatureException05()
116 assertNull("getCause() must return null", tE.getCause()); in testSignatureException06()
130 assertNull("getCause() must return null", tE.getCause()); in testSignatureException07()
147 assertNotNull("getCause() must not return null", tE.getCause()); in testSignatureException08()
149 .getCause(), tCause); in testSignatureException08()
[all …]
DNoSuchAlgorithmExceptionTest.java50 assertNull("getCause() must return null", tE.getCause()); in testNoSuchAlgorithmException01()
64 assertNull("getCause() must return null", tE.getCause()); in testNoSuchAlgorithmException02()
77 assertNull("getCause() must return null", tE.getCause()); in testNoSuchAlgorithmException03()
89 assertNull("getCause() must return null", tE.getCause()); in testNoSuchAlgorithmException04()
105 assertNotNull("getCause() must not return null", tE.getCause()); in testNoSuchAlgorithmException05()
107 .getCause(), tCause); in testNoSuchAlgorithmException05()
118 assertNull("getCause() must return null", tE.getCause()); in testNoSuchAlgorithmException06()
132 assertNull("getCause() must return null", tE.getCause()); in testNoSuchAlgorithmException07()
149 assertNotNull("getCause() must not return null", tE.getCause()); in testNoSuchAlgorithmException08()
151 .getCause(), tCause); in testNoSuchAlgorithmException08()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLExceptionTest.java47 assertNull("getCause() must return null", sE.getCause()); in testSSLException01()
59 assertNull("getCause() must return null", sE.getCause()); in testSSLException02()
70 assertNull("getCause() must return null", sE.getCause()); in testSSLException03()
86 assertNotNull("getCause() must not return null", sE.getCause()); in testSSLException04()
87 assertEquals("getCause() must return ".concat(tCause.toString()), sE.getCause(), tCause); in testSSLException04()
98 assertNull("getCause() must return null", sE.getCause()); in testSSLException05()
112 assertNull("getCause() must return null", sE.getCause()); in testSSLException06()
129 assertNotNull("getCause() must not return null", sE.getCause()); in testSSLException07()
131 .getCause(), tCause); in testSSLException07()
153 assertNotNull("getCause() must not return null", sE.getCause()); in testSSLException08()
[all …]
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathException.java74 public Throwable getCause() { in getCause() method in XPathException
79 if( getCause() != null ) { in printStackTrace()
80 getCause().printStackTrace(s); in printStackTrace()
92 if( getCause() != null ) { in printStackTrace()
93 getCause().printStackTrace(s); in printStackTrace()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThrowableTest.java28 assertEquals("cause is incorrect.", npe, thr.getCause()); in test_ConstructorLStringLThrowable()
32 assertEquals("cause is incorrect.", npe, thr.getCause()); in test_ConstructorLStringLThrowable()
36 assertNull("cause is not null.", thr.getCause()); in test_ConstructorLStringLThrowable()
44 assertEquals("Returned cause is incorrect.", npe, thr.getCause()); in test_ConstructorLThrowable()
47 assertNull("The cause is not null.", thr.getCause()); in test_ConstructorLThrowable()
85 assertEquals("getCause returns incorrect cause.", iae, thr.getCause()); in test_initCause()
89 assertEquals("getCause returns incorrect cause.", npe, thr.getCause()); in test_initCause()

123456789