- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 67 for Catching (0.03 sec)
-
guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java
/** * Hidden superclass of {@link Futures} that provides us a place to declare special GWT versions of * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function, * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly * different signatures. */ @GwtCompatible @J2ktIncompatible // Super-sourced
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 1.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java
/** * Hidden superclass of {@link Futures} that provides us a place to declare special GWT versions of * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function, * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly * different signatures. */ @GwtCompatible @J2ktIncompatible // Super-sourced
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_throwAndCatch() { // Test throwing and catching the exception final String errorMessage = "Data store operation failed"; try { throw new DataStoreException(errorMessage); } catch (DataStoreException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
assertNotSame(exception1, exception2); assertNotSame(exception2, exception3); assertNotSame(exception1, exception3); } public void test_throwAndCatch() { // Test throwing and catching the exception String errorMessage = "LDAP server not reachable"; try { throw new LdapConfigurationException(errorMessage); } catch (LdapConfigurationException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java
assertEquals(middleCause, exception.getCause()); assertEquals(innerCause, exception.getCause().getCause()); } public void test_throwAndCatch() { // Test throwing and catching the exception int expectedStatusCode = 403; String expectedMessage = "Access denied"; try { throw new WebApiException(expectedStatusCode, expectedMessage);
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/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
// Verify they have different stack traces assertNotSame(exception1.getStackTrace(), exception2.getStackTrace()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Thrown exception"; try { throw new UnsupportedSearchException(expectedMessage); // fail("Exception was not thrown");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
assertNotNull(exception); assertEquals(longMessage, exception.getMessage()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Theme loading error"; try { throw new ThemeException(expectedMessage); } catch (ThemeException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
assertEquals("Exception 2", exception2.getMessage()); assertNotNull(exception3.getCause()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Test throw and catch"; try { throw new SearchQueryException(expectedMessage); } catch (SearchQueryException e) {
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/ResultOffsetExceededExceptionTest.java
foundTestMethod = true; break; } } assertTrue(foundTestMethod); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Offset limit exceeded: 10000"; try { throw new ResultOffsetExceededException(expectedMessage); } catch (ResultOffsetExceededException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
assertEquals("Root cause", exception.getCause().getCause().getMessage()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Job execution failed"; boolean exceptionCaught = false; try { throw new ScheduledJobException(expectedMessage);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0)