- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 519 for setMessage (0.04 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertThrows(SMBProtocolDecodingException.class, () -> echoResponse.readBytesWireFormat(buffer, bufferIndex)); assertEquals("Expected structureSize = 4", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
void parseThrowsOnNull() { TestSpnegoToken t = new TestSpnegoToken(); IOException ex = assertThrows(IOException.class, () -> t.parse(null), "parse should throw IOException on null"); assertTrue(ex.getMessage().toLowerCase().contains("null")); } @Test @DisplayName("toByteArray returns empty when no mechanismToken") void toByteArrayWhenNull() { TestSpnegoToken t = new TestSpnegoToken();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
metadata.storeInLocalRepository(localRepo, localRepo); merged = true; } catch (Exception e) { throw new RepositoryException(e.getMessage(), e); } } @Override public boolean isMerged() { return merged; } @Override public String getGroupId() { return emptify(metadata.getGroupId());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java
return artifact.getProperty(key, defaultValue); } @Override public Map<String, String> getProperties() { return artifact.getProperties(); } public String getMessage() { return message; }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
assertArrayEquals(ciphers, decoded.getCiphers()); } catch (SMBProtocolDecodingException e) { fail("Should not throw exception: " + e.getMessage()); } } @Test @DisplayName("Should verify cipher constants") void testCipherConstants() { // Verify the cipher constants are correctly defined
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClSQLException.java
*/ public ClSQLException(final String messageCode, final Object[] args, final String sqlState, final int vendorCode, final Throwable cause, final String sql) { super(MessageFormatter.getMessage(messageCode, args), sqlState, vendorCode, cause); this.messageCode = messageCode; this.args = args; this.sql = sql; } /** * Returns the message code. *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 5.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
IllegalStateException.class, () -> assertActivation(false, newExistsProfile("${project.rootDirectory}"), context)); assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage()); } @Test void testRootDirectory() { assertActivation(false, newExistsProfile("${project.rootDirectory}/someFile.txt"), context);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 6.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
try { return settingsBuilder.build(request).getEffectiveSettings(); } catch (SettingsBuildingException e) { throw new IOException(e.getMessage(), e); } } /** @since 2.1 */ @Override public Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.8K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
ComponentLookupException e = assertThrows(ComponentLookupException.class, () -> container.lookup(MySingletonBean2.class)); assertTrue(e.getMessage().matches("[\\s\\S]*: Can not set .* field .* to [\\s\\S]*")); MySingletonBean bean = container.lookup(MySingletonBean.class); assertNotNull(bean); assertNotNull(bean.anotherBean);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.2K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java
*/ Exception getException(); /** * Gets the message that describes this problem. * * @return The message describing this problem, never {@code null}. */ String getMessage(); /** * Gets the severity level of this problem. * * @return The severity level of this problem, never {@code null}. */ Severity getSeverity();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3.4K bytes - Viewed (0)