- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 2,379 for Exception (0.05 sec)
-
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
RuntimeException exception = new RuntimeException(); T proxy = Reflection.newProxy( interfaceType, new AbstractInvocationHandler() { @Override protected Object handleInvocation(Object p, Method m, @Nullable Object[] args) throws Throwable { throw exception; } });
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ExtensionDescriptorBuilderTest.java
* */ class ExtensionDescriptorBuilderTest { private ExtensionDescriptorBuilder builder; @BeforeEach void setUp() throws Exception { builder = new ExtensionDescriptorBuilder(); } @AfterEach void tearDown() throws Exception { builder = null; } private InputStream toStream(String xml) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 2.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
} @Test @Throws(Exception::class) fun timeDurationTruncatedToMaxValue() { val cacheControl = CacheControl .Builder() .maxAge(365 * 100, TimeUnit.DAYS) // Longer than Integer.MAX_VALUE seconds. .build() assertThat(cacheControl.maxAgeSeconds).isEqualTo(Int.MAX_VALUE) } @Test @Throws(Exception::class) fun secondsMustBeNonNegative() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ThreadUtilTest.java
* */ public class ThreadUtilTest { /** * @throws Exception */ @Test public void test_sleep() throws Exception { ThreadUtil.sleep(1L); assertTrue(true); ThreadUtil.sleepQuietly(1L); } /** * @throws Exception */ @Test public void test_sleepQuietly() throws Exception { ThreadUtil.sleepQuietly(1L); assertTrue(true); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge")); 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 {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/TransportException.java
package jcifs.smb1.util.transport; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; /** * Exception thrown when transport-level errors occur in JCIFS SMB communication. */ public class TransportException extends IOException { /** The root cause exception */ private Throwable rootCause; /** * Constructs a new TransportException with no detail message. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
* * @param actionListener the action listener for handling the response * @param exceptionListener the exception listener for handling exceptions */ public void connect(final Consumer<HttpURLConnection> actionListener, final Consumer<Exception> exceptionListener) { final Runnable task = () -> { final String finalUrl; if (paramList != null) {Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java
/** * Send a message (and accompanying exception) to the user in the <b>debug</b> error level.<br> * The error's stacktrace will be output when this error level is enabled. * * @param content * @param error */ void debug(CharSequence content, Throwable error); /** * Send an exception to the user in the <b>debug</b> error level.<br>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
} @Test @DisplayName("Should throw exception on null buffer") void testDecodeWithNullBuffer() { assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(null, 0, 10), "Should throw exception for null buffer"); } @Test @DisplayName("Should throw exception on negative buffer index") void testDecodeWithNegativeIndex() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java
import org.codelibs.fess.crawler.entity.ResponseData; import org.codelibs.fess.crawler.exception.CrawlingAccessException; import org.dbflute.utflute.core.PlainTestCase; /** * Test class for ResponseDataUtil. * * @author shinsuke */ public class ResponseDataUtilTest extends PlainTestCase { public void test_createResponseBodyFile_basic() throws Exception { // Create a mock ResponseDataRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.9K bytes - Viewed (0)