- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 2,319 for execution (0.04 sec)
-
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
final Exception cause = new RuntimeException("Underlying error"); // Execute final InvalidQueryException exception = new InvalidQueryException(null, message, cause); // Verify assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertNull(exception.getMessageCode()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
import org.codelibs.core.exception.ClUnsupportedOperationException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author wyukawa * */ public class EmptyIteratorTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
TestFessSystemException exception = new TestFessSystemException(message, true, true); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); // Test that suppression is enabled RuntimeException suppressed = new RuntimeException("Suppressed exception"); exception.addSuppressed(suppressed); assertEquals(1, exception.getSuppressed().length);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
String message = "Session expired"; InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_throwAndCatch() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* exception. But there's another race: If the first thread fails with an exception and a second * thread immediately fails with the same exception: * * Thread1: calls setException(), which returns true, context switch before it can CAS * seenExceptionsField to its exception *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
SsoProcessException exception = new SsoProcessException(longMessage); assertEquals(longMessage, exception.getMessage()); assertNull(exception.getCause()); } public void test_getCause_withNestedExceptions() { // Test deeply nested exception causes Exception level3 = new Exception("Level 3: Database connection failed");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertNotNull(exception); assertEquals(SmbOperationException.ErrorCode.FILE_NOT_FOUND, exception.getErrorCode()); assertTrue(exception.getMessage().contains("FILE_NOT_FOUND")); assertTrue(exception.getMessage().contains("test.txt")); assertEquals(SmbOperationException.ErrorCategory.FILE_SYSTEM, exception.getErrorCategory()); assertFalse(exception.isRetryable()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); // Verify exception is serializable assertTrue(exception instanceof java.io.Serializable); } public void test_exceptionInheritance() { // Test that exception is a RuntimeException UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
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/ContentNotFoundExceptionTest.java
} ContentNotFoundException exception = new ContentNotFoundException(longParentUrl.toString(), longUrl.toString()); assertNotNull(exception); assertTrue(exception.getMessage().startsWith("Not Found: http://example.com/")); assertTrue(exception.getMessage().contains("Parent: http://example.com/")); assertNull(exception.getCause()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
// Given String message = "CIFS operation failed"; Exception cause = new RuntimeException("Root cause"); // When CIFSException exception = new CIFSException(message, cause); // Then assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0)