- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 2,327 for Exceptions (0.07 sec)
-
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
@Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testErrorMessage_ja() throws Exception { // ## Arrange ## Locale.setDefault(Locale.JAPANESE);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
try { Field f = declaring.getDeclaredField(name); f.setAccessible(true); f.set(target, value); } catch (Exception e) { throw new RuntimeException(e); } } // Simple FileEntry stub for tests private static final class FE implements FileEntry { private final String name;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
// Test passes - exception was thrown as expected } } /** * Test that resource content is properly read using readAllBytes. * Verifies that the new implementation correctly reads entire resource content. */ @Test public void testResourceReading_readAllBytesCorrectness() throws Exception { // Read using the new method (readAllBytes)Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
} @Test void testException() { Exception testException = new IllegalArgumentException("Another Test Exception"); mockResponse.exception(testException); // Verify that the method was called with the correct argument verify(mockResponse, times(1)).exception(testException); } @Test void testGetNextResponse() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
} @Test void testRoundTripEncodeDecodeForRequestType() throws Exception { TestMessage m = new TestMessage(); m.ptype = 0; // Request type NdrBuffer buf = new NdrBuffer(new byte[1024], 0); m.encode(buf); buf.setIndex(0); // Decode will throw exception as ptype 0 is not a valid response type assertThrows(NdrException.class, () -> m.decode(buf));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
@Override protected void setUp() throws Exception { super.setUp(); server = new TestApiExtractorServer(port); server.start(); extractor = new ApiExtractor(); extractor.setUrl("http://127.0.0.1:" + port + "/"); extractor.init(); } @Override protected void tearDown() throws Exception { server.stop(); extractor.destroy();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
} @Override protected void tearDown() throws Exception { classReloader.close(); Thread.currentThread().setContextClassLoader(oldClassLoader); System.clearProperty("guava.concurrent.generate_cancellation_cause"); } public void testCancel_notDoneNoInterrupt() throws Exception { Future<?> future = newFutureInstance(); assertTrue(future.cancel(false));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java
import org.apache.maven.api.annotations.Experimental; /** * The Exception class throw by the {@link ProjectBuilder} service. * * @since 4.0.0 */ @Experimental public class ModelBuilderException extends MavenException { private final ModelBuilderResult result; /** * Creates a new exception from the specified interim result and its associated problems. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 25 21:57:56 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
} @Test void testInvalidPath() throws Exception { // Test various invalid URL formats that should throw MalformedURLException assertThrows(MalformedURLException.class, () -> new SmbFile("not-a-url", context), "Invalid URL should throw MalformedURLException"); } @Test void testPublicShareAccess() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java
import org.apache.maven.api.services.MavenException; /** * An exception thrown while writing an XML file. * * @since 4.0.0 */ @Experimental public class XmlWriterException extends MavenException { private final Location location; /** * @param message the message for the exception * @param e the exception itself */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 1.4K bytes - Viewed (0)