Home
last modified time | relevance | path

Searched refs:getReason (Results 1 – 24 of 24) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DFileSystemException.java101 public String getReason() { in getReason() method in FileSystemException
111 return getReason(); in getMessage()
119 if (getReason() != null) { in getMessage()
121 sb.append(getReason()); in getMessage()
DInvalidPathException.java95 public String getReason() { in getReason() method in InvalidPathException
121 sb.append(getReason()); in getMessage()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFileAlreadyExistsExceptionTest.java31 assertNull(exception.getReason()); in test_constructor$String()
41 assertEquals("reason", exception.getReason()); in test_constructor$String$String$String()
87 assertEquals("reason", exception.getReason()); in test_serialization()
DNotLinkExceptionTest.java31 assertNull(exception.getReason()); in test_constructor$String()
40 assertEquals("reason", exception.getReason()); in test_constructor$String$String$String()
83 assertEquals("reason", exception.getReason()); in test_serialization()
DNoSuchFileExceptionTest.java31 assertNull(exception.getReason()); in test_constructor$String()
40 assertEquals("reason", exception.getReason()); in test_constructor$String$String$String()
85 assertEquals("reason", exception.getReason()); in test_serialization()
DAccessDeniedExceptionTest.java32 assertNull(exception.getReason()); in test_constructor$String()
41 assertEquals("reason", exception.getReason()); in test_constructor$String$String$String()
86 assertEquals("reason", exception.getReason()); in test_serialization()
DFileSystemExceptionTest.java31 assertNull(exception.getReason()); in test_constructor$String()
39 assertEquals("reason", exception.getReason()); in test_constructor$String$String$String()
84 assertEquals("reason", exception.getReason()); in test_serialization()
DInvalidPathExceptionTest.java32 assertEquals(reason, exception.getReason()); in test_Constructor$String$String$Int()
39 assertEquals(reason, exception.getReason()); in test_Constructor$String$String$Int()
84 assertEquals(reason, exception.getReason()); in test_Constructor$String$String()
DNotDirectoryExceptionTest.java31 assertNull(exception.getReason()); in test_constructor$String()
77 assertNull(exception.getReason()); in test_serialization()
DDirectoryNotEmptyExceptionTest.java32 assertNull(exception.getReason()); in test_constructor$String()
78 assertNull(exception.getReason()); in test_serialization()
DAtomicMoveNotSupportedExceptionTest.java33 assertEquals("reason", exception.getReason()); in test_constructor$String$String$String()
80 assertEquals("reason", exception.getReason()); in test_serialization()
/libcore/ojluni/src/main/java/java/net/
DURISyntaxException.java99 public String getReason() { in getReason() method in URISyntaxException
125 sb.append(getReason()); in getMessage()
DHttpRetryException.java86 public String getReason() { in getReason() method in HttpRetryException
/libcore/luni/src/test/java/libcore/java/net/
DOldHttpRetryExceptionTest.java31 assertEquals(message[i], hre.getReason()); in test_ConstructorLStringI()
46 assertEquals(message[i], hre.getReason()); in test_ConstructorLStringILString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURISyntaxExceptionTest.java51 assertEquals("returned incorrect reason", "problem", e.getReason()); in test_ConstructorLjava_lang_StringLjava_lang_StringI()
76 assertEquals("returned incorrect reason", "problem", e.getReason()); in test_ConstructorLjava_lang_StringLjava_lang_String()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DHttpRetryExceptionTest.java43 assertEquals("getReason", ref.getReason(), tst.getReason());
/libcore/ojluni/src/main/java/java/security/cert/
DCertPathValidatorException.java227 public Reason getReason() { in getReason() method in CertPathValidatorException
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPKIXMasterCertPathValidator.java135 cpOriginal, cpSize - (i + 1), cpve.getReason()); in validate()
DRevocationChecker.java372 if (e.getReason() == BasicReason.REVOKED) {
406 if (x.getReason() == BasicReason.REVOKED) {
426 e.getReason() == BasicReason.UNDETERMINED_REVOCATION_STATUS)
431 e.getReason());
1082 if (cpve.getReason() == BasicReason.REVOKED) {
DSunCertPathBuilder.java435 && cpve.getReason() == BasicReason.REVOKED) { in depthFirstSearchForward()
/libcore/dalvik/src/main/java/dalvik/system/
DDexFile.java586 public String getReason() { in getReason() method in DexFile.OptimizationInfo
/libcore/luni/src/test/java/tests/security/cert/
DCertPathValidatorExceptionTest.java457 assertEquals(BasicReason.REVOKED, exception.getReason()); in testCertPathValidatorException_constructsCorrectlyWithReason()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java1659 && objToSave.getReason().equals(objLoaded.getReason()); in test_writeObject_URISyntaxException()
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt590 method @Deprecated public String getReason();