- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 3,282 for throw (0.22 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
assertNotNull(context, "Context should be created"); assertNotNull(context.options(), "Options should be available"); // Test that icon methods don't throw exceptions // (The actual icon choice depends on terminal charset capabilities) context.success("Test success message"); context.failure("Test failure message");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Jul 15 09:35:08 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
internal infix fun Int.and(mask: Long): Long = toLong() and mask @Throws(IOException::class) internal fun BufferedSink.writeMedium(medium: Int) { writeByte(medium.ushr(16) and 0xff) writeByte(medium.ushr(8) and 0xff) writeByte(medium and 0xff) } @Throws(IOException::class) internal fun BufferedSource.readMedium(): Int = ( readByte() and 0xff shl 16
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
} private void parse(final byte[] material) throws IOException { for (int i = 0; i < 8; i++) { if (material[i] != NTLMSSP_SIGNATURE[i]) { throw new IOException("Not an NTLMSSP message."); } } if (readULong(material, 8) != 2) { throw new IOException("Not a Type 2 message."); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
@Override public void init() throws IOException { if (throwExceptionOnInit) { throw new IOException("Init failed"); } } @Override public List<String> convert(String text, String field, String... langs) throws IOException { if (throwExceptionOnConvert) { throw new IOException("Convert failed"); }Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/DispatcherTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
if (!"Upgrade".equals(headerConnection, ignoreCase = true)) { throw ProtocolException( "Expected 'Connection' header value 'Upgrade' but was '$headerConnection'", ) } val headerUpgrade = response.header("Upgrade") if (!"websocket".equals(headerUpgrade, ignoreCase = true)) { throw ProtocolException( "Expected 'Upgrade' header value 'websocket' but was '$headerUpgrade'",
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
return; } catch (InterruptedException ie) { throw new RuntimeException("Unexpected interrupt while waiting for future", ie); } catch (TimeoutException tryHarder) { /* OK */ } } while (System.nanoTime() - deadline < 0); throw formatRuntimeException("Future not done within %d second timeout", timeoutSeconds); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TransformedListIterator.java
public final int previousIndex() { return backingIterator().previousIndex(); } @Override public void set(@ParametricNullness T element) { throw new UnsupportedOperationException(); } @Override public void add(@ParametricNullness T element) { throw new UnsupportedOperationException(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TransformedListIterator.java
public final int previousIndex() { return backingIterator().previousIndex(); } @Override public void set(@ParametricNullness T element) { throw new UnsupportedOperationException(); } @Override public void add(@ParametricNullness T element) { throw new UnsupportedOperationException(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Mock transport.connect() to throw RuntimeException wrapping InterruptedException doThrow(new RuntimeException(new InterruptedException("Interrupted"))).when(transport).connect(); // Should throw exception due to interrupted wait assertThrows(RuntimeException.class, () -> tree.treeConnect(null, null)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0)