Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 358 for RuntimeException (0.12 sec)

  1. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                                    roleSet.addAll(fessConfig.getSearchGuestRoleList());
                                }
                            });
                } catch (final RuntimeException e) {
                    try {
                        requestManager.findLoginManager(FessUserBean.class).ifPresent(LoginManager::logout);
                    } catch (final Exception e1) {
                        // ignore
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                                rc4.update(masterKey, 0, 16, exchangedKey, 0);
                            } catch (GeneralSecurityException gse) {
                                throw new RuntimeException("", gse);
                            }
                            */
    
                            setSessionKey(exchangedKey);
                        } else {
                            masterKey = ntlm2SessionKey;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            try {
                Field f = declaring.getDeclaredField(name);
                f.setAccessible(true);
                f.set(target, value);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        // Simple FileEntry stub for tests
        private static final class FE implements FileEntry {
            private final String name;
    
            FE(String name) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                when(mockStrategies.get(0).isApplicable(context)).thenReturn(true);
                when(mockStrategies.get(0).apply(Mockito.eq(context), Mockito.any()))
                        .thenThrow(new RuntimeException("Strategy failed"));
    
                when(mockStrategies.get(1).isApplicable(context)).thenReturn(false);
                when(mockStrategies.get(2).isApplicable(context)).thenReturn(false);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *   <li>subtasks are run with the thread uninterrupted and interrupts received during execution
       *       of a task are ignored.
       * </ol>
       *
       * <p>{@code RuntimeException}s thrown by tasks are simply logged and the executor keeps trucking.
       * If an {@code Error} is thrown, the error will propagate and execution will stop until the next
       * time a task is submitted.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        }
    
        @Test
        void testReadStringWithMaxLengthExceeded() {
            smb.useUnicode = false;
            byte[] buffer = "a very long string that exceeds max length".getBytes();
            assertThrows(RuntimeException.class, () -> {
                smb.readString(buffer, 0, 10, false);
            });
        }
    
        @Test
        void testEncodeDecode() {
            // Setup SMB with some data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                        try {
                            return getToolchainV4(v3Factory.createToolchain(new ToolchainModel(model)));
                        } catch (MisconfiguredToolchainException e) {
                            throw new RuntimeException(e);
                        }
                    }
    
                    @Nonnull
                    @Override
                    public Optional<org.apache.maven.api.Toolchain> createDefaultToolchain()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 31 10:58:52 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        }
    
        @Test
        @DisplayName("Should pass null for SmbAuthException when error is not SmbAuthException")
        void testRenewCredentials_WithErrorNotSmbAuthException() {
            Throwable genericError = new RuntimeException("Generic Error");
            try (MockedStatic<NtlmAuthenticator> mockedNtlmAuthenticator = mockStatic(NtlmAuthenticator.class)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                clone.currentProject = ThreadLocal.withInitial(() -> current);
                return clone;
            } catch (CloneNotSupportedException e) {
                throw new RuntimeException("Bug", e);
            }
        }
    
        @Deprecated
        public Date getStartTime() {
            return request.getStartTime();
        }
    
        public Instant getStartInstant() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                int behavior = random.nextInt(4);
                if (behavior == 0) { // throw an exception
                  exceptionCount.incrementAndGet();
                  throw new RuntimeException("fake exception for test");
                } else if (behavior == 1) { // return null
                  computeNullCount.incrementAndGet();
                  return null;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top