Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 519 for setMessage (0.13 sec)

  1. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

                        "1 problem was encountered while building the effective toolchains" + LS
                                + "[FATAL] Non-parseable toolchains (memory): MESSAGE @ line 4, column 2" + LS,
                        e.getMessage());
            }
        }
    
        @Test
        void testIOException() throws Exception {
            Source src = mock(Source.class);
            IOException ioException = new IOException("MESSAGE");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

            TransferResource resource = event.getResource();
            out.warn(
                    "{} from {} for {}{}",
                    event.getException().getMessage(),
                    resource.getRepositoryId(),
                    resource.getRepositoryUrl(),
                    resource.getResourceName());
        }
    
        @Override
        public void transferSucceeded(TransferEvent event) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

                }
            }
        }
    
        private void logError(String action, Throwable e, EventSpy spy) {
            String msg = "Failed to " + action + " spy " + spy.getClass().getName() + ": " + e.getMessage();
    
            if (logger.isDebugEnabled()) {
                logger.warn(msg, e);
            } else {
                logger.warn(msg);
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

                return e.getExitCode();
            } catch (Exception e) {
                // last resort; as ideally we should get ExitException only
                new SystemLogger(stdErr).error(e.getMessage(), e);
                return 1;
            } finally {
                if (classWorldManaged) {
                    classWorld.close();
                }
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Feb 08 16:25:25 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                        return getToolchainV3(v4Toolchain);
                    } catch (ToolchainFactoryException e) {
                        throw new MisconfiguredToolchainException(e.getMessage(), e);
                    }
                }
    
                @Override
                public ToolchainPrivate createDefaultToolchain() {
                    try {
                        return v4Factory
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 31 10:58:52 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/InvalidArtifactRTException.java

            this.groupId = groupId;
            this.artifactId = artifactId;
            this.version = version;
            this.type = type;
            this.baseMessage = message;
        }
    
        @Override
        public String getMessage() {
            return "For artifact {" + getArtifactKey() + "}: " + getBaseMessage();
        }
    
        public String getBaseMessage() {
            return baseMessage;
        }
    
        public String getArtifactId() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

         *            The cause of the exception
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) {
            super(MessageFormatter.getMessage(messageCode, args), cause);
            this.argName = argName;
            this.messageCode = messageCode;
            this.args = args;
        }
    
        /**
         * Returns the name of the argument.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

            this.children = (children != null) ? Collections.unmodifiableList(children) : Collections.emptyList();
        }
    
        public Throwable getException() {
            return exception;
        }
    
        public String getMessage() {
            return message;
        }
    
        public String getReference() {
            return reference;
        }
    
        public List<ExceptionSummary> getChildren() {
            return children;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            /*
             * try { ArtifactResolutionResult res = collect( a ); fail( "Expected b not to resolve: " + res ); } catch (
             * OverConstrainedVersionException e ) { assertTrue( e.getMessage().indexOf( "[1.0-SNAPSHOT]" ) <
             * e.getMessage().indexOf( "[1.0,)" ) ); }
             */
        }
    
        @Test
        @Disabled("that one does not work")
        @SuppressWarnings("checkstyle:UnusedLocalVariable")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 43K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

          UnsignedBytes.checkedCast(value);
          fail("Cast to byte should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage("%s not found in exception text: %s", value, ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        // This is the only ordering for primitives that does not have a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top