Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ToolchainsBuildingException (0.14 sec)

  1. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

     */
    @Deprecated(since = "4.0.0")
    public class ToolchainsBuildingException extends Exception {
    
        private final List<Problem> problems;
    
        /**
         * Creates a new exception with the specified problems.
         *
         * @param problems The problems that cause this exception, must not be {@code null}.
         */
        public ToolchainsBuildingException(List<Problem> problems) {
            super(toMessage(problems));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

    class ToolchainsBuildingExceptionTest {
        private static final String LS = System.lineSeparator();
    
        @Test
        void testNoProblems() {
            ToolchainsBuildingException e = new ToolchainsBuildingException(Collections.<Problem>emptyList());
            assertEquals("0 problems were encountered while building the effective toolchains" + LS, e.getMessage());
        }
    
        @Test
        void testOneProblem() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuilder.java

         * @return The result of the toolchains building, never {@code null}.
         * @throws ToolchainsBuildingException If the effective toolchains could not be built.
         */
        ToolchainsBuildingResult build(ToolchainsBuildingRequest request) throws ToolchainsBuildingException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

            this.builder = builder;
            this.toolchainsXmlFactory = toolchainsXmlFactory;
        }
    
        @Override
        public ToolchainsBuildingResult build(ToolchainsBuildingRequest request) throws ToolchainsBuildingException {
            try {
                ToolchainsBuilderResult result = builder.build(ToolchainsBuilderRequest.builder()
                        .session((Session) java.lang.reflect.Proxy.newProxyInstance(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            request.setGlobalToolchainsSource(new StringSource(""));
    
            try {
                toolchainBuilder.build(request);
            } catch (ToolchainsBuildingException e) {
                assertEquals(
                        "1 problem was encountered while building the effective toolchains" + LS
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top