- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 406 for Catching (0.04 sec)
-
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) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
assertEquals(level1, level3.getCause().getCause()); assertEquals("Level 1", level3.getCause().getCause().getMessage()); } public void test_throwAndCatchException() { // Test throwing and catching the exception String expectedMessage = "Storage failure"; try { throw new StorageException(expectedMessage); } catch (StorageException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_throwAndCatch() { // Test throwing and catching PluginException String expectedMessage = "Plugin loading failed"; try { throw new PluginException(expectedMessage); } catch (PluginException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
foundTestMethod = true; break; } } assertTrue(foundTestMethod); } public void test_throwAndCatch() { // Test throwing and catching the exception String message = "Throw and catch test"; try { throw new SearchEngineClientException(message); } catch (SearchEngineClientException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); assertNull(exception.getCause()); } public void test_throwAndCatch() { // Test throwing and catching the exception try { throw new UserRoleLoginException(RootAction.class); } catch (UserRoleLoginException e) { assertEquals(RootAction.class, e.getActionClass());
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/LdapOperationExceptionTest.java
assertEquals("Invalid LDAP parameter", exception.getCause().getCause().getMessage()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "LDAP authentication failed"; try { throw new LdapOperationException(expectedMessage); } catch (LdapOperationException e) {
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/exception/ScriptEngineExceptionTest.java
assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_throwAndCatch() { // Test throwing and catching the exception String message = "Thrown exception test"; try { throw new ScriptEngineException(message); } catch (ScriptEngineException 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/ContainerNotAvailableExceptionTest.java
assertEquals(middleCause, topException.getCause()); assertEquals(rootCause, topException.getCause().getCause()); } public void test_throwAndCatch() { // Test throwing and catching the exception String componentName = "cacheManager"; try { throw new ContainerNotAvailableException(componentName); } catch (ContainerNotAvailableException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ComputationException.java
* {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code * ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any * code that is still catching {@code ComputationException} may need to be updated to catch some * of those types instead. (Note that this type, though deprecated, is not planned to be removed * from Guava.) */ @Deprecated @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComputationException.java
* {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code * ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any * code that is still catching {@code ComputationException} may need to be updated to catch some * of those types instead. (Note that this type, though deprecated, is not planned to be removed * from Guava.) */ @Deprecated @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.8K bytes - Viewed (0)