- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 2,205 for exceptions (0.3 sec)
-
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
// Escapers operate on characters: no characters, no escaping. Assert.assertEquals("", escaper.escape("")); // Assert that escapers throw null pointer exceptions. try { escaper.escape((String) null); Assert.fail("exception not thrown when escaping a null string"); } catch (NullPointerException e) { // pass } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java
assertEquals(cause, exception.getCause()); assertEquals("Image processing error", exception.getCause().getMessage()); } public void test_constructorWithNullMessage() { // Test constructor with null message ThumbnailGenerationException exception = new ThumbnailGenerationException(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.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java
} public void test_clearCache() { // Test that clearCache doesn't throw exception popularWordHelper.clearCache(); // Verify cache is cleared (we can't directly test this without accessing the cache) // But we can test that it doesn't throw exceptions assertTrue(true); } public void test_init_configuration() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
} while (!buffer.exhausted()) { val exception = buffer.readUtf8LineStrict() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(exception)).isEqualTo( exception, ) val test = "foobar.$exception" assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(test)).isEqualTo(exception) } } @Test fun threadIsInterruptedOnFirstRead() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
ScriptEngineException exception = new ScriptEngineException("test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_serialization() { // Test that the exception has the correct serialVersionUID field
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
RuntimeException exception = new RuntimeException(); T proxy = Reflection.newProxy( interfaceType, new AbstractInvocationHandler() { @Override protected Object handleInvocation(Object p, Method m, @Nullable Object[] args) throws Throwable { throw exception; } });
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; import java.util.HashMap; import java.util.Map; /** * Base exception class for all SMB-related exceptions * * This class provides a consistent exception handling mechanism * with proper error context and recovery information. */ public class SmbException extends CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
assertSame(transport, session.getTransport()); verify(session).getTransport(); } // Happy path: connect to logon share completes without exception @Test @DisplayName("treeConnectLogon performs call without exception") void treeConnectLogon_happy() throws SmbException { // doNothing by default session.treeConnectLogon(); verify(session, times(1)).treeConnectLogon();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* possibly run in another thread. That cause should itself be an {@code Error}; if not, use {@code * ExecutionException} or {@link UncheckedExecutionException}. This allows the client code to * continue to distinguish between exceptions and errors, even when they come from other threads. * * @author Chris Povirk * @since 10.0 */ @GwtCompatible public class ExecutionError extends Error { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withEmptyMessage() { // Test constructor with empty message final String message = ""; final JobProcessingException exception = new JobProcessingException(message); assertNotNull(exception); assertEquals(message, exception.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0)