Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 519 for setMessage (0.05 sec)

  1. src/test/java/jcifs/smb/SpnegoContextTest.java

            // Invalid first byte should be rejected by token parsing
            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.initSecContext(new byte[] { firstByte }, 0, 1));
            assertEquals("Invalid token", ex.getMessage());
    
            // Ensure mechContext was not engaged due to early failure
            verify(this.mechContext, never()).initSecContext(any(), anyInt(), anyInt());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptParser.java

                return CommonsCliEncryptOptions.parse(context.parserRequest.args().toArray(new String[0]));
            } catch (ParseException e) {
                throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e);
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            // When & Then: Constructor should throw SmbException
            SmbException exception = assertThrows(SmbException.class, () -> new NetServerEnumIterator(parent, treeHandle, "*", 0, null));
    
            assertTrue(exception.getMessage().contains("invalid"));
            verify(treeHandle, never()).acquire();
        }
    
        @Test
        @DisplayName("Constructor should handle null parent")
        void testConstructor_NullParent_ThrowsNPE() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                PrintStream ps = new PrintStream(os);
                ps.println(
                        "A required class was missing while executing " + mojoDescriptor.getId() + ": " + e.getMessage());
                pluginRealm.display(ps);
                Exception wrapper = new PluginContainerException(mojoDescriptor, pluginRealm, os.toString(), e);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacMacTest.java

            PACDecodingException e =
                    assertThrows(PACDecodingException.class, () -> PacMac.calculateMac(PacSignature.KERB_CHECKSUM_HMAC_MD5, keys, TEST_DATA));
            assertEquals("Missing key", e.getMessage());
        }
    
        /**
         * Test calculateMac with an invalid algorithm type.
         */
        @Test
        void testCalculateMacInvalidAlgorithm() {
            Map<Integer, KerberosKey> keys = new HashMap<>();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

                if (logger.isWarnEnabled() && !result.getRelocations().isEmpty()) {
                    String message =
                            pluginArtifact instanceof RelocatedArtifact relocated ? ": " + relocated.getMessage() : "";
                    logger.warn(
                            "The artifact {} has been relocated to {}{}",
                            result.getRelocations().get(0),
                            pluginArtifact,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 15:32:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

            try {
                pomMap = PomDiscovery.discoverPoms(startingDirectory);
            } catch (IOException | DomTripException e) {
                context.failure("Failed to discover POM files: " + e.getMessage());
                return 1;
            }
    
            if (pomMap.isEmpty()) {
                context.warning("No POM files found in " + startingDirectory);
                return 0;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

            }
    
            @Override
            public void add(ModelProblemCollectorRequest req) {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    result.addMessage(req.getMessage());
                }
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginDescriptorParsingException.java

            }
    
            if (descriptorLocation != null) {
                message += " (" + descriptorLocation + ")";
            }
    
            if (e != null) {
                message += ": " + e.getMessage();
            }
    
            return message;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top