Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 286 for mymessage (0.05 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

                () ->
                    getChecked(
                        FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithoutThrowableConstructor.class));
        assertThat(expected).hasMessageThat().contains("mymessage");
        assertThat(expected).hasCauseThat().isEqualTo(CHECKED_EXCEPTION);
      }
    
      public void testPrefersConstructorWithThrowableParameter() {
        ExceptionWithManyConstructorsButOnlyOneThrowable exception =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

         */
        public MojoExecutionException(String message, Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Construct a new <code>MojoExecutionException</code> exception providing a <code>message</code>.
         *
         * @param message
         */
        public MojoExecutionException(String message) {
            super(message);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         * @param message the message to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder error(Object message) {
            return style("." + Constants.MAVEN_STYLE_ERROR_NAME + ":-" + Constants.MAVEN_STYLE_ERROR_DEFAULT, message);
        }
    
        /**
         * Append message content in success style.
         * By default, bold green
         *
         * @param message the message to append
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java

        }
    
        /**
         * Creates a new exception with specified detail message for the given repository.
         *
         * @param message The detail message, may be {@code null}.
         * @param repository The repository that caused the error, may be {@code null}.
         */
        public InvalidRepositoryException(String message, Repository repository) {
            super(message);
            this.repository = repository;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java

        public LifecycleExecutionException(String message) {
            super(message);
        }
    
        public LifecycleExecutionException(Throwable cause) {
            super(cause);
        }
    
        public LifecycleExecutionException(String message, Throwable cause) {
            super(message, cause);
        }
    
        public LifecycleExecutionException(String message, MavenProject project) {
            super(message);
            this.project = project;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionException.java

            super(message, artifact, remoteRepositories);
        }
    
        public ArtifactResolutionException(String message, Artifact artifact, Throwable cause) {
            super(message, artifact, null, cause);
        }
    
        public ArtifactResolutionException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

        private Throwable exception;
    
        private String message;
    
        private String reference;
    
        private List<ExceptionSummary> children;
    
        public ExceptionSummary(Throwable exception, String message, String reference) {
            this(exception, message, reference, null);
        }
    
        public ExceptionSummary(Throwable exception, String message, String reference, List<ExceptionSummary> children) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

        }
    
        private static String toMessage(ModelBuildingResult result) {
            if (result != null && !result.getModelIds().isEmpty()) {
                return toMessage(result.getModelIds().get(0), result.getProblems());
            }
            return null;
        }
    
        // Package protected for test
        static String toMessage(String modelId, List<ModelProblem> problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

        private final String modelId;
    
        private final String message;
    
        private final Exception exception;
    
        private final Severity severity;
    
        private final Version version;
    
        /**
         * Creates a new problem with the specified message and exception.
         *
         * @param message The message describing the problem, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

        private String downloadUrl;
    
        protected ArtifactNotFoundException(
                String message, Artifact artifact, List<ArtifactRepository> remoteRepositories) {
            super(message, artifact, remoteRepositories);
        }
    
        public ArtifactNotFoundException(String message, Artifact artifact) {
            this(
                    message,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top