- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 2,174 for Exception (0.16 sec)
-
src/test/java/jcifs/http/HandlerTest.java
class HandlerTest { @Mock private CIFSContext mockCifsContext; private Handler handler; private Properties originalSystemProperties; @BeforeEach void setUp() throws Exception { // Backup system properties to restore them after each test originalSystemProperties = (Properties) System.getProperties().clone(); // Reset static state of the Handler class before each test for isolation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
@Override protected void tearDown() { stack.runTearDown(); } static final Exception EXCEPTION = new Exception(); static final class ExampleClassUnderTest { static final Logger logger = Logger.getLogger(ExampleClassUnderTest.class.getName()); static void foo() { logger.log(Level.INFO, "message", EXCEPTION); } private ExampleClassUnderTest() {} }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
} @Test @DisplayName("Should handle exception") void testException() { Exception testException = new Exception("Test exception"); assertFalse(echoResponse.isError()); assertFalse(echoResponse.isReceived()); assertNull(echoResponse.getException()); echoResponse.exception(testException); assertTrue(echoResponse.isError());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/EmptyArgumentException.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.exception; /** * Exception thrown when an argument is empty. * * @author higa */ public class EmptyArgumentException extends ClIllegalArgumentException { private static final long serialVersionUID = 4625805280526951642L;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/MavenExecutionException.java
*/ package org.apache.maven.api.cache; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.services.MavenException; /** * Exception thrown when an error occurs during Maven execution. * This exception wraps the original cause of the execution failure. * * @since 4.0.0 */ @Experimental public class MavenExecutionException extends MavenException { /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 1.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
import org.codelibs.fess.crawler.entity.AccessResultDataImpl; import org.codelibs.fess.crawler.entity.ResponseData; import org.codelibs.fess.crawler.entity.ResultData; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.codelibs.fess.crawler.extractor.ExtractorFactory; import org.codelibs.fess.crawler.extractor.impl.TikaExtractor; import org.dbflute.utflute.core.PlainTestCase; /** * @author shinsuke
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
QueryContext context = new QueryContext("test", false); try { boostQueryCommand.execute(context, null, 1.0f); fail("Should have thrown exception"); } catch (Exception e) { // Expected exception (either InvalidQueryException or NullPointerException) assertTrue(e instanceof InvalidQueryException || e instanceof NullPointerException); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
* * @param registration the failed registration * @param error the error that occurred */ void onRegistrationFailed(WitnessRegistration registration, Exception error); /** * Called when a witness registration expires. * * @param registration the expired registration */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
} // Test with different exception types public void test_exceptionTypes() { // Test RuntimeException RuntimeException runtimeEx = new RuntimeException("Runtime error"); assertEquals("Runtime error", runtimeEx.getMessage()); // Test Exception Exception generalEx = new Exception("General error");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
@RegisterExtension val clientTestRule = OkHttpClientTestRule() private var client = clientTestRule.newClient() @AfterEach internal fun tearDown() { factory.close() } @Test fun nonRetryableIOException() { val exception = IOException("Non-handshake exception") assertThat(retryTlsHandshake(exception)).isFalse() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0)