- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 358 for RuntimeException (2.12 sec)
-
impl/maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java
* Currently, this modification would create compatibility problems for existing plugins. */ public class DuplicateArtifactAttachmentException extends RuntimeException { private static final String DEFAULT_MESSAGE = "Duplicate artifact attachment detected."; private Artifact artifact; private final MavenProject project;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/base/VerifyException.java
* including those performed by the convenience methods of the {@link Verify} class. * * @since 17.0 */ @GwtCompatible public class VerifyException extends RuntimeException { /** Constructs a {@code VerifyException} with no message. */ public VerifyException() {} /** Constructs a {@code VerifyException} with the message {@code message}. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure GcFinalization.awaitDone( new GcFinalization.FinalizationPredicate() { @Override public boolean isDone() { return !file.exists(); } });
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx); // Act & Assert: calling release without prior acquire drops usage below zero RuntimeException ex = assertThrows(RuntimeException.class, trace::release); assertTrue(ex.getMessage() != null && ex.getMessage().contains("Usage count dropped below zero")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
private static byte[] oidDer() { // Full DER encoding of the OID try { return testOid().toASN1Primitive().getEncoded(); } catch (java.io.IOException e) { throw new RuntimeException(e); } } @Test @DisplayName("Parses a valid buffer and exposes fields") void parseValidBuffer() { // Arrange String name = "******@****.***";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
@Test public void testConstructorWithIllegalShareAccess() { // Test that constructor throws RuntimeException for illegal shareAccess parameter String url = "smb1://server/share/file.txt"; int illegalShareAccess = 99; // Not a valid combination assertThrows(RuntimeException.class, () -> new SmbFile(url, null, illegalShareAccess)); } } @NestedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
} catch (AssertionError expected) { return; } fail(); } private static final class ThrowingIterator<E> implements Iterator<E> { private final RuntimeException ex; private ThrowingIterator(RuntimeException ex) { this.ex = ex; } @Override public boolean hasNext() { // IteratorTester doesn't expect exceptions for hasNext(). return true; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java
try { securityDescriptor = new SecurityDescriptor(); bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len); } catch (final IOException ioe) { throw new RuntimeException(ioe.getMessage()); } return bufferIndex - start; } @Override public String toString() { return ("NtTransQuerySecurityResponse[" + super.toString() + "]"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
if (password == null) { throw new RuntimeException("Password parameter is required"); } try { final MD4 md4 = new MD4(); md4.update(password.getBytes(SmbConstants.UNI_ENCODING)); return md4.digest(); } catch (final UnsupportedEncodingException uee) { throw new RuntimeException(uee.getMessage()); } } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/FessSystemException.java
* This exception is thrown when system-level errors occur in the Fess application, * such as configuration errors, initialization failures, or critical runtime issues. */ public class FessSystemException extends RuntimeException { /** Serial version UID for serialization compatibility */ private static final long serialVersionUID = 1L; /** * Constructs a new FessSystemException with the specified detail message and cause.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0)