- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,324 for exception (0.04 sec)
-
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) -
guava-tests/test/com/google/common/io/CloserTest.java
new Suppression(c1, c3Exception, c1Exception)); } public static void testSuppressingSuppressor() throws IOException { Closer closer = Closer.create(); IOException thrownException = new IOException(); IOException c1Exception = new IOException(); RuntimeException c2Exception = new RuntimeException();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K 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/ScheduledJobExceptionTest.java
assertEquals(cause, exception.getCause()); assertEquals("Root cause exception", exception.getCause().getMessage()); } public void test_constructorWithNullMessage() { // Test constructor with null message ScheduledJobException exception = new ScheduledJobException(null); assertNull(exception.getMessage()); assertNull(exception.getCause()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
LdapOperationException exception = new LdapOperationException("Test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_serialVersionUID() { // Test that exception is serializable
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
// Setup mock SearchLogHelper that throws wrapped checked exception SearchLogHelper mockSearchLogHelper = new SearchLogHelper() { @Override public void storeSearchLog() { try { throw new Exception("Checked exception"); } catch (Exception e) { throw new RuntimeException("Wrapped: " + e.getMessage(), e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
executor.shutdown(); // Then - No unexpected exceptions assertTrue(exceptions.isEmpty(), "No unexpected exceptions should occur"); } /** * Test that CopyOnWriteArrayList prevents ConcurrentModificationException. */ @Test public void testNoConcurrentModificationException() throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClusterException.java
final Collection<? extends Throwable> exceptions; private ClusterException(Collection<? extends Throwable> exceptions) { super( exceptions.size() + " exceptions were thrown. The first exception is listed as a cause.", exceptions.iterator().next()); ArrayList<? extends Throwable> temp = new ArrayList<>(exceptions); this.exceptions = Collections.unmodifiableCollection(temp); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
}, "Should throw UnknownHostException for non-existent NetBIOS name with type"); // Verify the exception message indicates name resolution failure assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown") || exception.getMessage().contains("not found"), "Exception message should indicate name resolution failure"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
protected void createLocalArtifact(Artifact artifact) throws Exception { createArtifact(artifact, localRepository()); } protected void createRemoteArtifact(Artifact artifact) throws Exception { createArtifact(artifact, remoteRepository()); } protected void createArtifact(Artifact artifact, ArtifactRepository repository) throws Exception { String path = repository.pathOf(artifact);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.8K bytes - Viewed (0)