Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for initCauses (0.14 sec)

  1. 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)
              }
            }
          }
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/exceptions/ContextAwareException.java

    import javax.annotation.Nullable;
    import java.util.ArrayList;
    import java.util.List;
    
    public class ContextAwareException extends GradleException {
    
        public ContextAwareException(Throwable t) {
            initCause(t);
        }
    
        /**
         * Returns the reportable causes for this failure.
         *
         * @return The causes. Never returns null, returns an empty list if this exception has no reportable causes.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 13:32:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/RetryConnectionTest.kt

        assertThat(retryTlsHandshake(exception)).isFalse()
      }
    
      @Test fun nonRetryableSSLHandshakeException() {
        val exception =
          SSLHandshakeException("Certificate handshake exception").apply {
            initCause(CertificateException())
          }
        assertThat(retryTlsHandshake(exception)).isFalse()
      }
    
      @Test fun retryableSSLHandshakeException() {
        assertThat(retryTlsHandshake(retryableException)).isTrue()
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/BuildModelActionRunner.java

                RuntimeException clientFailure = e;
                if (createAction.modelLookupFailure != null) {
                    clientFailure = (RuntimeException) new InternalUnsupportedModelException().initCause(createAction.modelLookupFailure);
                }
                return Result.failed(e, clientFailure);
            }
        }
    
        private static class ModelCreateAction implements BuildTreeModelAction<Object> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java

         * @param cause The nested cause of this error, may be {@code null}.
         */
        public MetadataParseException(String message, int lineNumber, int columnNumber, Throwable cause) {
            super(message);
            initCause(cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        /**
         * Gets the one-based index of the line containing the error.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java

         * @param cause The nested cause of this error, may be {@code null}.
         */
        public ModelParseException(String message, int lineNumber, int columnNumber, Throwable cause) {
            super(message);
            initCause(cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        /**
         * Gets the one-based index of the line containing the error.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java

         * @param cause The nested cause of this error, may be {@code null}.
         */
        public SettingsParseException(String message, int lineNumber, int columnNumber, Throwable cause) {
            super(message);
            initCause(cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        /**
         * Gets the one-based index of the line containing the error.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsParseException.java

         * @param cause The nested cause of this error, may be {@code null}.
         */
        public ToolchainsParseException(String message, int lineNumber, int columnNumber, Throwable cause) {
            super(message);
            initCause(cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        /**
         * Gets the one-based index of the line containing the error.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java

            }
        }
    
        private RuntimeException maybeEndOfStream(KryoException e) throws EOFException {
            if (e.getMessage().equals("Buffer underflow.")) {
                throw (EOFException) new EOFException().initCause(e);
            }
            throw e;
        }
    
        @Override
        public byte readByte() throws EOFException {
            try {
                return input.readByte();
            } catch (KryoException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          else if (t instanceof Exception) throw (Exception) t;
          else {
            AssertionFailedError afe = new AssertionFailedError(t.toString());
            afe.initCause(t);
            throw afe;
          }
        }
    
        if (Thread.interrupted()) throw new AssertionFailedError("interrupt status set in main thread");
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top