- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 472 for throwing (0.06 sec)
-
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
throw new RuntimeException("non-critical error"); }, isFailure); fail("Should have thrown exception"); } catch (CIFSException e) { // Expected - exception is thrown but not counted as failure } } // NOTE: Implementation behavior - custom predicate may not prevent all state changes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
/** * Ensures the exception is thrown and captured via assertThrows with the right message. */ @Test void assertThrowsCapturesExceptionAndMessage() { // Act & Assert SmbEndOfFileException thrown = assertThrows(SmbEndOfFileException.class, () -> { throw new SmbEndOfFileException(); }); assertEquals("Unexpectedly reached end of file", thrown.getMessage()); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloseablesTest.java
// make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception. setupCloseable(true); doClose(mockCloseable, true); } public void testClose_closeableWithThrownException() throws IOException { // make sure that the exception is thrown if 'swallowException' is false // when the mock does throw an exception.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/html5.js
laceholder]").each(function(){this.__defaultValue=this.getAttribute("placeholder"),a(this).bind("focus",function(){this.value===this.__defaultValue&&(this.value="",a(this).removeClass("showing-placeholder"))}).bind("blur",function(){""===a.trim(this.value)&&(this.value=this.__defaultValue,a(this).addClass("showing-placeholder"))})})})};a.formUtils.$win.bind("validatorsLoaded formValidationSetup",function(b,c){c||(c=a("form")),e(c)}),a.formUtils.setupValidationUsingHTML5Attr=e}(a,window)});...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java
* the License. */ package com.google.common.eventbus; /** * Handler for exceptions thrown by event subscribers. * * @since 16.0 */ public interface SubscriberExceptionHandler { /** Handles exceptions thrown by subscribers. */ void handleException(Throwable exception, SubscriberExceptionContext context);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 894 bytes - Viewed (0) -
src/test/java/jcifs/SmbFileHandleTest.java
smbFileHandle.close(lastWriteTime); verify(smbFileHandle, times(1)).close(lastWriteTime); } /** * Test close(long) when a CIFSException is thrown. * * @throws CIFSException */ @Test void testCloseWithLastWriteTime_throwsCIFSException() throws CIFSException { long lastWriteTime = System.currentTimeMillis();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Arrange String msg = "downgrade not allowed"; // Act & Assert - verify thrown type and message SMBProtocolDowngradeException thrown = assertThrows(SMBProtocolDowngradeException.class, () -> { throw new SMBProtocolDowngradeException(msg); }); assertEquals(msg, thrown.getMessage()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
@Test void testSetOptionEndpointInvalidPipe() { String endpoint = "\\pipe\\unknown"; DcerpcException thrown = assertThrows(DcerpcException.class, () -> { dcerpcBinding.setOption("endpoint", endpoint); }, "Should throw DcerpcException for unknown pipe endpoint."); assertTrue(thrown.getMessage().contains("Bad endpoint"), "Exception message should indicate a bad endpoint."); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java
* </p> * * <p> * The class also provides a mechanism to ignore exceptions that may occur during the delay process. * If {@link #ignoreException} is set to true, any exceptions thrown during the delay will be caught * and ignored. Otherwise, they will be re-thrown as {@link CrawlerSystemException}. * </p> * */ public abstract class AbstractIntervalController implements IntervalController { /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.5K bytes - Viewed (0)