Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for initCause (0.23 sec)

  1. android/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.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       *     cause. At the moment, you can <i>usually</i> still preserve behavior by passing an explicit
       *     {@code null} cause. Note, however, that passing an explicit {@code null} cause prevents
       *     anyone from calling {@link #initCause} later, so it is not quite equivalent to using a
       *     constructor that omits the cause.
       */
      @Deprecated
      protected UncheckedExecutionException() {}
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/InstantiationRuntimeException.java

            this.targetClass = targetClass;
        }
    
        @Override
        public synchronized InstantiationRuntimeException initCause(final Throwable cause) {
            return (InstantiationRuntimeException) super.initCause(cause);
        }
    
        /**
         * ターゲットクラスを返します。
         *
         * @return ターゲットクラス
         */
        public Class<?> getTargetClass() {
            return targetClass;
        }
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

                    initCause(e)
                  },
                )
              }
            },
          )
        } catch (e: Exception) {
          // Handle any errors that might leak out
          // https://issuetracker.google.com/issues/319957694
          callback.onFailure(
            hostname,
            UnknownHostException(e.message).apply {
              initCause(e)
            },
          )
        }
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 10:07:48 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

        try {
          return getUninterruptibly(future, 0, SECONDS);
        } catch (TimeoutException e) {
          AssertionFailedError error = new AssertionFailedError(e.getMessage());
          error.initCause(e);
          throw error;
        }
      }
    
      private TestPlatform() {}
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.9K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/LocalRepositoryNotAccessibleException.java

     *
     */
    @Deprecated
    public class LocalRepositoryNotAccessibleException extends IOException {
    
        public LocalRepositoryNotAccessibleException(String message, Throwable cause) {
            super(message);
            initCause(cause);
        }
    
        public LocalRepositoryNotAccessibleException(String message) {
            super(message);
        }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
            error.initCause(e);
            throw error;
          }
        }
        return urls.build().toArray(new URL[0]);
      }
    
      /** Returns the URLs in the class path. */
      static URL[] getClassPathUrls() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 13 20:26:15 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        stop();
        join();
    
        if (uncaughtThrowable != null) {
          throw (AssertionFailedError)
              new AssertionFailedError("Uncaught throwable in " + getName())
                  .initCause(uncaughtThrowable);
        }
      }
    
      /**
       * Causes this thread to call the named void method, and asserts that the call returns normally.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

                error.initCause(e.getCause());
                throw error;
              } catch (AssertionFailedError e) {
                AssertionError error =
                    new AssertionFailedError(
                        "Return value of " + factory + " reserialized to an unequal value");
                error.initCause(e);
                throw error;
              }
            }
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Dns.kt

              return InetAddress.getAllByName(hostname).toList()
            } catch (e: NullPointerException) {
              throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply {
                initCause(e)
              }
            }
          }
        }
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top