Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 361 for Throwables (0.04 sec)

  1. src/main/java/org/codelibs/core/message/MessageFormatter.java

                if (pattern != null) {
                    return MessageFormat.format(pattern, args);
                }
                return getNoPatternMessage(args);
            } catch (final Throwable ignore) {
                return getNoPatternMessage(args);
            }
        }
    
        /**
         * Returns the pattern string corresponding to the message code.
         *
         * @param messageCode
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbResourceException.java

         * @param errorCode the SMB error code
         * @param resourceType the type of resource
         * @param cause the cause exception
         */
        public SmbResourceException(String message, int errorCode, ResourceType resourceType, Throwable cause) {
            super(message, errorCode, Severity.TRANSIENT, Category.RESOURCE, cause);
            this.resourceType = resourceType;
            this.availableResources = -1;
            this.requestedResources = -1;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        ExecutorService executor = Executors.newFixedThreadPool(threadCount);
        for (int i = 0; i < threadCount; i++) {
          executor.execute(() -> {
            try {
              drainQueue();
            } catch (Throwable e) {
              e.printStackTrace();
            }
          });
        }
        executor.shutdown();
      }
    
      private void drainQueue() throws Exception {
        for (HttpUrl url; (url = queue.take()) != null; ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

        DelegatingInvocationHandler(Object delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        protected Object handleInvocation(Object proxy, Method method, Object[] args) throws Throwable {
          return method.invoke(delegate, args);
        }
    
        @Override
        public String toString() {
          return "some arbitrary string";
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

                    }
                    jobLog.setScriptResult(ret.toString());
                }
                jobLog.setJobStatus(Constants.OK);
            } catch (final Throwable t) {
                logger.warn("Failed to execute job: id={}, script={}", id, script, t);
                jobLog.setJobStatus(Constants.FAIL);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            assertNull(ex.getCause(), "No cause expected when only message is provided");
    
            // toString behavior mirrors Throwable: includes message when not null
            String ts = ex.toString();
            assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name");
            if (msg != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

        if (Build.VERSION.SDK_INT <= 24) return listOf()
        return super.getHandshakeServerNames(sslSocket)
      }
    
      override fun log(
        message: String,
        level: Int,
        t: Throwable?,
      ) {
        if (level == WARN) {
          Log.w(Tag, message, t)
        } else {
          Log.i(Tag, message, t)
        }
      }
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 10 05:19:46 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

            assertArgumentNotNull("bundle", bundle);
            assertArgumentNotEmpty("key", key);
    
            try {
                return bundle.getString(key);
            } catch (final Throwable t) {
                return null;
            }
        }
    
        /**
         * Converts the resource bundle to a {@link Map}.
         *
         * @param bundle the resource bundle (must not be {@literal null})
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ExecutionError.java

       * and https://github.com/jspecify/jspecify/issues/490.
       *
       * (That would also have ensured that its cause was always an Error, rather than possibly another
       * kind of Throwable that was later passed to initCause. Then we could have declared the override
       * `public final Error getCause()`.)
       */
    
      /**
       * Creates a new instance with {@code null} as its detail message and no cause.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

      ) : InvocationHandler {
        /** Set when remote peer notifies ALPN is unsupported. */
        var unsupported: Boolean = false
    
        /** The protocol the server selected. */
        var selected: String? = null
    
        @Throws(Throwable::class)
        override fun invoke(
          proxy: Any,
          method: Method,
          args: Array<Any>?,
        ): Any? {
          val callArgs = args ?: arrayOf<Any?>()
          val methodName = method.name
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top