- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for test_getCause (0.05 sec)
-
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); assertNull(exception.getMessage()); } public void test_getCause() { // Test that getCause returns null (no cause set in constructor) UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); assertNull(exception.getCause()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
} String message = longMessage.toString(); SsoLoginException exception = new SsoLoginException(message); assertEquals(message, exception.getMessage()); } public void test_getCause() { // Test getCause() method explicitly Exception cause = new IllegalArgumentException("Invalid SSO token"); SsoLoginException exception = new SsoLoginException("SSO error", cause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
assertEquals("org.apache.lucene.queryparser.classic.ParseException: " + errorMessage, queryParseException.getMessage()); } public void test_getCause() { // Test that the cause is properly set and retrievable ParseException parseException = new ParseException("Query parsing failed");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0)