- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,174 for Exception (0.1 sec)
-
src/test/java/jcifs/util/ServerResponseValidatorTest.java
validator = new ServerResponseValidator(); } @Test public void testValidBuffer() throws Exception { byte[] buffer = new byte[1024]; validator.validateBuffer(buffer, 100, 2048); // Should pass without exception } @Test public void testNullBuffer() throws Exception { assertThrows(SmbException.class, () -> { validator.validateBuffer(null, 100, 1024);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/CIFSExceptionTest.java
// Given String message = "CIFS operation failed"; Exception cause = new RuntimeException("Root cause"); // When CIFSException exception = new CIFSException(message, cause); // Then assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java
import org.codelibs.core.beans.BeanDesc; import org.codelibs.core.beans.MethodDesc; import org.codelibs.core.exception.MethodNotStaticRuntimeException; import org.junit.Test; /** * @author koichik * */ public class MethodDescTest { /** * @throws Exception */ @Test public void testFoo() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Response.java
*/ void reset(); /** * Gets the exception associated with this response. * * @return an exception linked to an error */ Exception getException(); /** * Sets an exception for this response. * * @param e the exception to set */ void exception(Exception e); /** * Gets the next response in the chain. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
} /** * @throws Exception */ @Test public void testTimeConverter() throws Exception { assertThat(new CopyOptions().timeConverter("ss").convertValue(new java.sql.Time(0), "aaa", String.class), is((Object) "00")); } /** * @throws Exception */ @Test public void testTimestampConverter() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/CIFSException.java
* Constructs a CIFS exception with the specified detail message and cause. * * @param message the detail message * @param cause the cause of this exception */ public CIFSException(final String message, final Throwable cause) { super(message, cause); } /** * Constructs a CIFS exception with the specified detail message. * * @param message the detail message */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
import org.codelibs.core.exception.ClUnsupportedOperationException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author wyukawa * */ public class EmptyIteratorTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
} catch (Exception e) { fail("printThreadDumpAsWarn() should not throw exceptions: " + e.getMessage()); } } public void test_printThreadDumpAsError() { // This test verifies that printThreadDumpAsError() method exists and can be called without exceptions try { ThreadDumpUtil.printThreadDumpAsError(); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} abstract boolean isPermitted(Exception exception); void assertPermitted(Exception exception) { if (!isPermitted(exception)) { String message = "Exception " + exception.getClass().getSimpleName() + " was thrown; expected " + getMessage(); throw new AssertionError(message, exception); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
} /** * @throws Exception */ @Test public void testIndexOf_character() throws Exception { final char[] array = new char[] { 'a', 'b', 'c' }; assertThat(ArrayUtil.indexOf(array, 'a'), is(0)); assertThat(ArrayUtil.indexOf(array, 'd'), is(-1)); } /** * @throws Exception */ @Test
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0)