Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,287 for scratch (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                    java.lang.reflect.Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
                    statusField.setAccessible(true);
                    statusField.set(this, status);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
    
            public void setFlagsForTest(int flags) {
                // Workaround: Use reflection to set private flags field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // After 3 failures, account should be locked
            try {
                rateLimiter.checkAttempt(username, ip);
                fail("Should throw SmbException for locked account");
            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout");
            }
        }
    
        @Test
        public void testIpRateLimit() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

                });
                return null;
            });
            try {
                userService.store(entity);
                saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
            } catch (final Exception e) {
                logger.warn("Failed to create user: username={}, error={}", body.name, e.getMessage(), e);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HostSpecifier.java

        // use InetAddresses.toUriString to convert the result to a string in
        // canonical form.
        InetAddress addr = null;
        try {
          addr = InetAddresses.forString(host);
        } catch (IllegalArgumentException e) {
          // It is not an IPv4 or IPv6 literal
        }
    
        if (addr != null) {
          return new HostSpecifier(InetAddresses.toUriString(addr));
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            } catch (Exception e) {
                log.warn("Failed to create authenticated context, trying guest access", e);
                context = SingletonContext.getInstance();
            }
    
            // Wait for server to be ready - with proper error handling for CI environments
            try {
                waitForServerReady();
            } catch (RuntimeException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            channels.remove(channel.getChannelId());
            try {
                if (channel.getTransport() != null) {
                    channel.getTransport().close();
                }
            } catch (Exception e) {
                log.debug("Error disconnecting removed channel", e);
            }
        }
    
        /**
         * Establish a replacement channel
         */
        public void establishReplacementChannel() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                    }
                }
    
                return robotsTxt;
            } catch (final java.io.IOException e) {
                // Only throw exception for fatal I/O errors
                throw new RobotsTxtException("Failed to read robots.txt due to I/O error.", e);
            } catch (final Exception e) {
                // Catch any other fatal errors (e.g., encoding issues)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          cancel(false);
          return;
        } catch (ExecutionException e) {
          // Set the cause of the exception as this future's exception.
          setException(e.getCause());
          return;
        } catch (Exception e) { // sneaky checked exception
          // Bug in inputFuture.get(). Propagate to the output Future so that its consumers don't hang.
          setException(e);
          return;
        } catch (Error e) {
          /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                                storeQueue(taskList);
                            }
                        }
                    } catch (final InterruptedException e) {
                        if (generating && logger.isDebugEnabled()) {
                            logger.debug("Interrupted task.", e);
                        }
                    } catch (final Exception e) {
                        if (generating) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

            assertArgumentNotNull("handler", handler);
    
            try {
                parser.parse(inputSource, handler);
            } catch (final SAXException e) {
                throw new SAXRuntimeException(e);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Sets a specific property on the base implementation of {@link XMLReader}.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top