Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 426 for Throwables (0.05 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataRetrievalException.java

         * @param cause a cause
         * @deprecated use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)}
         */
        @Deprecated
        public ArtifactMetadataRetrievalException(String message, Throwable cause) {
            this(message, cause, null);
        }
    
        public ArtifactMetadataRetrievalException(String message, Throwable cause, Artifact artifact) {
            super(message, cause);
            this.artifact = artifact;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        final Object result;
        final Throwable throwable;
    
        Response(String methodName, @Nullable Object result, @Nullable Throwable throwable) {
          this.methodName = methodName;
          this.result = result;
          this.throwable = throwable;
        }
    
        Object getResult() {
          if (throwable != null) {
            throw new AssertionError(throwable);
          }
          return result;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNestedCause() {
            // Test constructor with nested exceptions
            Throwable rootCause = new IllegalStateException("Root cause");
            Throwable intermediateCause = new RuntimeException("Intermediate cause", rootCause);
            String message = "Top level error";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/log/LoggerAdapter.java

        boolean isFatalEnabled();
    
        void fatal(String message);
    
        void fatal(String message, Throwable t);
    
        boolean isErrorEnabled();
    
        void error(String message);
    
        void error(String message, Throwable t);
    
        boolean isWarnEnabled();
    
        void warn(String message);
    
        void warn(String message, Throwable t);
    
        boolean isInfoEnabled();
    
        void info(String message);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertTrue(exception.getCause().getStackTrace().length > 0);
        }
    
        public void test_multiLevelCause() {
            // Test with nested exceptions
            Throwable rootCause = new IllegalStateException("Root problem");
            Throwable intermediateCause = new RuntimeException("Intermediate problem", rootCause);
            GsaConfigException exception = new GsaConfigException("Top level GSA error", intermediateCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/SneakyThrows.java

    /** Static utility method for unchecked throwing of any {@link Throwable}. */
    @GwtCompatible
    final class SneakyThrows<T extends Throwable> {
      /**
       * Throws {@code t} as if it were an unchecked {@link Throwable}.
       *
       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
       * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/SneakyThrows.java

    /** Static utility method for unchecked throwing of any {@link Throwable}. */
    @GwtCompatible
    final class SneakyThrows<T extends Throwable> {
      /**
       * Throws {@code t} as if it were an unchecked {@link Throwable}.
       *
       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
       * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

    abstract class InterruptibleTask<T extends @Nullable Object> implements Runnable {
    
      @Override
      public void run() {
        T result = null;
        Throwable error = null;
        if (isDone()) {
          return;
        }
        try {
          result = runInterruptibly();
        } catch (Throwable t) {
          error = t;
        }
        if (error == null) {
          // The cast is safe because of the `run` and `error` checks.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataRetrievalException.java

            this(message, null, null);
        }
    
        public MetadataRetrievalException(Throwable cause) {
            this(null, cause, null);
        }
    
        public MetadataRetrievalException(String message, Throwable cause) {
            this(message, cause, null);
        }
    
        public MetadataRetrievalException(String message, Throwable cause, ArtifactMetadata artifact) {
            super(message, cause);
    
            this.artifact = artifact;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top