- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 2,174 for Exception (0.05 sec)
-
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
@Test void acceptPropagatesException() { SmbFile dir = Mockito.mock(SmbFile.class); SmbFilenameFilter filter = (d, n) -> { throw new SmbException("forced exception"); }; Exception e = assertThrows(Exception.class, () -> filter.accept(dir, "any")); assertTrue(e instanceof SmbException); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
assertTrue(e.getMessage() != null, "Exception should have a message"); } try { digest.verify(data, 0, data.length, 0, response); // If no exception is thrown, accept graceful handling assertTrue(true, "Verify operation after wipe should either throw exception or handle gracefully");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
opt Löst aus operation -->> dep: Löst Exception aus (z. B. HTTPException) opt Handhabt dep -->> dep: Kann Exception abfangen, eine neue HTTPException auslösen, andere Exceptions auslösen dep -->> handler: Leitet Exception automatisch weiter end handler -->> client: HTTP-Error-Response end operation ->> client: Sendet Response an ClientRegistered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 12.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Log.java
/** * Sends a message (and accompanying exception) to the user in the <b>debug</b> error level. * The error's stacktrace will be output when this error level is enabled. * * @param content the message to log * @param error the error that caused this log */ void debug(CharSequence content, Throwable error); /** * Sends an exception to the user in the <b>debug</b> error level.Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
} // Test appendException method with nested exception public void test_appendException_nestedException() { StringBuilder buf = new StringBuilder(); Exception cause = new IllegalArgumentException("Root cause"); Exception exception = new RuntimeException("Wrapper exception", cause); monitorTarget.appendException(buf, exception); assertTrue(buf.toString().contains("Wrapper exception"));Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/SmbException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs; import java.util.HashMap; import java.util.Map; /** * Base exception class for all SMB-related exceptions * * This class provides a consistent exception handling mechanism * with proper error context and recovery information. */ public class SmbException extends CIFSException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
private int getStatus(NetShareEnumResponse response) throws Exception { Field field = getSuperclassField(response.getClass(), "status"); field.setAccessible(true); return field.getInt(response); } private void setStatus(NetShareEnumResponse response, int value) throws Exception { Method method = getSuperclassMethod(response.getClass(), "setStatus", int.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
import org.codelibs.core.beans.factory.BeanDescFactory; import org.codelibs.core.exception.MethodNotFoundRuntimeException; import org.junit.Test; /** * @author higa * @author manhole */ public class BeanDescImplTest { /** * @throws Exception */ @Test public void testPropertyDesc() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
CaseInsensitiveMap<String> map; /** * @throws Exception */ @Before public void setUp() throws Exception { map = new CaseInsensitiveMap<String>(); map.put("one", "1"); map.put("two", "2"); } /** * @throws Exception */ @After public void tearDown() throws Exception { map = null; } /** * @throws ExceptionRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
} while (!buffer.exhausted()) { val exception = buffer.readUtf8LineStrict() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(exception)).isEqualTo( exception, ) val test = "foobar.$exception" assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(test)).isEqualTo(exception) } } @Test fun threadIsInterruptedOnFirstRead() {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0)