Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 591 for setMessage (0.17 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/ExceptionTrackingFailureHandler.java

        }
    
        @Override
        public void dispatchFailed(Object message, Throwable failure) {
            if (this.failure != null && !Thread.currentThread().isInterrupted()) {
                logger.error(failure.getMessage(), failure);
            } else {
                this.failure = new DispatchException(String.format("Could not dispatch message %s.", message), failure);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalFailure.java

     *
     * @since 2.4
     */
    public interface InternalFailure {
    
        /**
         * The message of the failure, if any.
         *
         * @return the failure message, can be null
         */
        String getMessage();
    
        /**
         * The description of the failure, if any.
         *
         * @return the failure description, can be null
         */
        String getDescription();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

            assertThat(ex.getMessageCode(), is("ECL0001"));
            assertThat(ex.getArgs().length, is(1));
            assertThat(ex.getArgs()[0], is((Object) "hoge"));
            System.out.println(ex.getMessage());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
            final Throwable t = new NullPointerException("test");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. testing/architecture-test/src/test/java/org/gradle/architecture/test/FreezeInstructionsPrintingArchRule.java

        }
    
        @Override
        public EvaluationResult evaluate(JavaClasses classes) {
            try {
                return delegate.evaluate(classes);
            } catch (RuntimeException e) {
                if (e.getMessage().contains("freeze.store")) {
                    throw new RuntimeException("ArchUnit violations changed, please refreeze and check the differences by running ./gradlew architecture-test:test -ParchunitRefreeze", e);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ManagedPropertyGroovyInterOpIntegrationTest.groovy

                public abstract class SomeTask extends DefaultTask {
                    @Internal
                    abstract Property<Boolean> getFlag()
                    @Internal
                    abstract Property<String> getMessage()
                    @Internal
                    abstract Property<Double> getNumber()
                    @Internal
                    abstract ListProperty<Integer> getList()
                    @Internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/InvalidProjectVersionException.java

                InvalidVersionSpecificationException cause) {
            return "Invalid version: " + offendingVersion + " found for: " + locationInPom + " in project: " + projectId
                    + ". Reason: " + cause.getMessage();
        }
    
        public String getOffendingVersion() {
            return offendingVersion;
        }
    
        public String getLocationInPom() {
            return locationInPom;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/SloppyTearDown.java

      @Override
      public final void tearDown() {
        try {
          sloppyTearDown();
        } catch (Throwable t) {
          logger.log(Level.INFO, "exception thrown during tearDown: " + t.getMessage(), t);
        }
      }
    
      public abstract void sloppyTearDown() throws Exception;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 19:22:18 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/DefaultCommandLineToolInvocationWorkerTest.groovy

            then:
            1 * execAction.executable(executable)
            1 * execAction.execute() >> { throw new ExecException("fail") }
            BuildOperationFailure e = thrown()
            e.getMessage().contains('Tool failed while doing something')
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs-asciidoctor-extensions-base/src/main/java/org/gradle/docs/asciidoctor/MultiLanguageSamplesDocinfoProcessor.java

                return IOUtils.toString(inputStream, StandardCharsets.UTF_8);
            } catch (IOException e) {
                throw new IllegalStateException("Unable to read source resource for MultiLanguageSamples: " + e.getMessage());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. test-site/app/controllers/Suggest.java

                    json = callback[0] + '(' + json + ')';
                }
                return ok(json);
            } catch (Exception e) {
                return internalServerError(e.getMessage());
            }
        }
    
        public static Result createSuggestFromContent() {
            try {
                long start = System.currentTimeMillis();
                SuggestIndex suggestIndex = new SuggestIndex();
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 2.2K bytes
    - Viewed (0)
Back to top