- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 2,692 for Exception (0.08 seconds)
-
guava-testlib/test/com/google/common/testing/TearDownStackTest.java
*/ @GwtCompatible @NullUnmarked public class TearDownStackTest extends TestCase { private final TearDownStack tearDownStack = new TearDownStack(); public void testSingleTearDown() throws Exception { TearDownStack stack = buildTearDownStack(); SimpleTearDown tearDown = new SimpleTearDown(); stack.addTearDown(tearDown); assertEquals(false, tearDown.ran); stack.runTearDown();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/ParseRuntimeException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import java.text.ParseException; /** * Exception thrown when parsing fails. * * @author higa */ public class ParseRuntimeException extends ClRuntimeException {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 1.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java
import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author higa */ public class TimeConverterTest { /** * @throws Exception */ @Test public void testGetAsObjectAndGetAsString() throws Exception { final TimeConverter converter = new TimeConverter("HH:mm:ss"); final java.sql.Time result = (java.sql.Time) converter.getAsObject("12:34:56");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
@DisplayName("Test readBytesWireFormat with invalid structure size throws exception") void testReadBytesWireFormatInvalidStructureSize() { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Set structure size to 4 (invalid, should be 2) SMBUtil.writeInt2(4, buffer, bufferIndex); SMBProtocolDecodingException exception =Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
ParameterizedType parameterType = (ParameterizedType) WithWildcardType.class.getDeclaredMethod(methodName, List.class) .getGenericParameterTypes()[0]; return (WildcardType) parameterType.getActualTypeArguments()[0]; } } public void testNewWildcardType() throws Exception {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 15.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
throw new IOException("Test exception"); } }; try { SearchEngineUtil.getXContentString(xContent, XContentType.JSON); fail("Should throw IORuntimeException"); } catch (IORuntimeException e) { assertTrue(e.getCause() instanceof IOException); assertEquals("Test exception", e.getCause().getMessage()); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/StringConversionUtilTest.java
import junit.framework.TestCase; /** * @author shinsuke * */ public class StringConversionUtilTest extends TestCase { /** * @throws Exception */ public void testFromWindowsMapping() throws Exception { assertNull(StringConversionUtil.fromWindowsMapping(null)); assertEquals("", StringConversionUtil.fromWindowsMapping(""));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
public void handleRdmaError(RdmaConnection connection, Exception error) { log.warn("RDMA error occurred: {}", error.getMessage()); if (isRecoverableError(error)) { // Attempt to recover connection try { connection.reset(); log.info("RDMA connection recovered"); } catch (Exception e) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
methodArgument = arg; } @Subscribe public void exceptionThrowingMethod(Object arg) throws Exception { throw new IntentionalException(); } /** Local exception subclass to check variety of exception thrown. */ static final class IntentionalException extends Exception { private static final long serialVersionUID = -2500191180248181379L; } @Subscribe
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
NbtAddress result2 = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result2); assertEquals(result1, result2); } @Test void testGetByNameFileModification() throws Exception { // Create initial lmhosts file File lmhostsFile = tempDir.resolve("lmhosts").toFile(); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("192.168.1.100 TESTHOST\n");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.2K bytes - Click Count (0)