Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,808 for try (0.01 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

       */
      @JvmOverloads
      fun charset(defaultValue: Charset? = null): Charset? {
        val charset = parameter("charset") ?: return defaultValue
        return try {
          Charset.forName(charset)
        } catch (_: IllegalArgumentException) {
          defaultValue // This charset is invalid or unsupported. Give up.
        }
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertFalse(channelInfo.isHealthy());
        }
    
        @Test
        void testActivityTracking() {
            long initialTime = channelInfo.getLastActivityTime();
    
            // Wait a bit and update activity
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            channelInfo.updateActivity();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. docs/sts/casdoor.md

    Configure and install casdoor server by following [Casdoor Server Installation](https://casdoor.org/docs/basic/server-installation).
    For a quick installation, docker-compose reference configs are also available on the [Casdoor Try with Docker](https://casdoor.org/docs/basic/try-with-docker).
    
    ### Configure Casdoor
    
    - Go to Applications
      - Create or use an existing Casdoor application
      - Edit the application
        - Copy `Client ID` and `Client secret`
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

            verifyPassword(form, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getUser(form).ifPresent(entity -> {
                try {
                    userService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            testTransformer.setName("exceptionTransformer");
            testTransformer.setThrowException(true);
    
            ResponseData responseData = new ResponseData();
    
            try {
                testTransformer.transform(responseData);
                fail("Should throw CrawlerSystemException");
            } catch (CrawlerSystemException e) {
                assertEquals("Test exception", e.getMessage());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SID.java

         */
        public static SID CREATOR_OWNER = null;
        /**
         * Well known SID: SYSTEM (S-1-5-18).
         */
        public static SID SYSTEM = null;
    
        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            } catch (final SmbException se) {}
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/AggregateLogJob.java

         */
        public String execute() {
            final SearchLogHelper searchLogHelper = ComponentUtil.getSearchLogHelper();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            try {
                searchLogHelper.storeSearchLog();
            } catch (final Exception e) {
                logger.error("Failed to store a search log.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java

                    return filterPropertyAsDefault(filteredValue); // not null here
                }
    
                private String getFromCache(final String propertyKey) {
                    try {
                        return cache.get(propertyKey,
                                () -> System.getProperty(Constants.FESS_CONFIG_PREFIX + propertyKey, super.get(propertyKey)));
                    } catch (final ExecutionException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

            })
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/secrets/hellosecret.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java

    @GwtCompatible
    @NullMarked
    public abstract class SloppyTearDown implements TearDown {
      private static final Logger logger = Logger.getLogger(SloppyTearDown.class.getName());
    
      @Override
      public final void tearDown() {
        try {
          sloppyTearDown();
        } catch (Throwable t) {
          logger.log(Level.INFO, "exception thrown during tearDown: " + t.getMessage(), t);
        }
      }
    
      public abstract void sloppyTearDown() throws Exception;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top