Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 77 for initCauses (0.15 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        }
    
        val failure = failures[0]
    
        if (failure is UnknownHostException) {
          throw failure
        }
    
        val unknownHostException = UnknownHostException(hostname)
        unknownHostException.initCause(failure)
    
        for (i in 1 until failures.size) {
          unknownHostException.addSuppressed(failures[i])
        }
    
        throw unknownHostException
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          X instance = newFromConstructor(constructor, cause);
          if (instance != null) {
            if (instance.getCause() == null) {
              instance.initCause(cause);
            }
            return instance;
          }
        }
        throw new IllegalArgumentException(
            "No appropriate constructor for exception of type "
                + exceptionClass
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

            .withTearDown(tearDown)
            .createTestSuite();
      }
    
      private static LinkageError newLinkageError(Throwable cause) {
        LinkageError error = new LinkageError(cause.toString());
        error.initCause(cause);
        return error;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                                        targetClass == null ? null : targetClass.getName(),
                                        targetClass == null ? null : targetClass.getClassLoader() })
                                .initCause(t);
                    }
                } else {
                    FieldUtil.set(field, target, convertedValue);
                }
            } catch (final Throwable t) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

                throw new ComparisonFailure("Comparison failure: expected: $expectedFile, actual: $actualFile"
                    + "\nUnexpected content for generated actualFile: ${error.message}", expectedXml, actualXml).initCause(error)
            }
        }
    
        void assertHasExpectedProperties(TestFile actualFile, String expectedFileName) {
            actualFile.assertExists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

                    Throwable reconstructed = (Throwable) constructor.newInstance(message);
                    if (!causes.isEmpty()) {
                        reconstructed.initCause(causes.get(0));
                    }
                    reconstructed.setStackTrace(convertStackTrace(stackTrace));
                    registerSuppressedExceptions(suppressed, reconstructed);
                    return reconstructed;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

        static final CancellationException cancellationExceptionWithCause(
            @Nullable String message, @Nullable Throwable cause) {
          CancellationException exception = new CancellationException(message);
          exception.initCause(cause);
          return exception;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

                throw new ComparisonFailure("Comparison failure: expected: $expectedFile, actual: $actualFile"
                    + "\nUnexpected content for generated actualFile: ${error.message}", expectedXml, actualXml).initCause(error)
            }
        }
    
        private void hasProjectLibrary(String iprFileName, String libraryName, List<String> classesLibs, List<String> javadocLibs, List<String> sourcesLibs, List<String> compilerClasses) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        private PotentialDeadlockException(
            LockGraphNode node1, LockGraphNode node2, ExampleStackTrace conflictingStackTrace) {
          super(node1, node2);
          this.conflictingStackTrace = conflictingStackTrace;
          initCause(conflictingStackTrace);
        }
    
        public ExampleStackTrace getConflictingStackTrace() {
          return conflictingStackTrace;
        }
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedInts.java

        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
          throw decodeException;
        }
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given decimal string.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top