Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 86 for initCauses (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/DefaultBuildController.java

                }
            } catch (UnknownModelException e) {
                throw (InternalUnsupportedModelException) new InternalUnsupportedModelException().initCause(e);
            }
    
            return new ProviderBuildResult<>(model);
        }
    
        @Override
        public boolean getCanQueryProjectModelInParallel(Class<?> modelType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:14 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HostSpecifier.java

          // fromValid(), we implement this method in terms of that one rather
          // than the reverse.
    
          ParseException parseException = new ParseException("Invalid host specifier: " + specifier, 0);
          parseException.initCause(e);
          throw parseException;
        }
      }
    
      /**
       * Determines whether {@code specifier} represents a valid {@link HostSpecifier} as described in
       * the documentation for {@link #fromValid(String)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 05 09:18:40 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/HostSpecifier.java

          // fromValid(), we implement this method in terms of that one rather
          // than the reverse.
    
          ParseException parseException = new ParseException("Invalid host specifier: " + specifier, 0);
          parseException.initCause(e);
          throw parseException;
        }
      }
    
      /**
       * Determines whether {@code specifier} represents a valid {@link HostSpecifier} as described in
       * the documentation for {@link #fromValid(String)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 05 09:18:40 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.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
    - 7.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ParameterAwareBuildControllerAdapterTest.groovy

        def "unpacks unsupported model exception"() {
            def failure = new RuntimeException()
    
            given:
            _ * delegate.getModel(null, _, null) >> { throw new InternalUnsupportedModelException().initCause(failure) }
    
            when:
            controller.getModel(String)
    
            then:
            UnknownModelException e = thrown()
            e.message == /No model of type 'String' is available in this build./
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 08:15:25 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top