- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 2,760 for throwIt (0.04 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
} @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { decodeCallCount++; if (throwOnDecode) { throw new SMBProtocolDecodingException("Test decode error"); } if (buffer == null) { throw new SMBProtocolDecodingException("Buffer cannot be null"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeMap.java
@DoNotCall("Always throws UnsupportedOperationException") public final void putCoalescing(Range<K> range, V value) { throw new UnsupportedOperationException(); } /** * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
* * @throws CIFSException if an error occurs while opening the file */ public void open() throws CIFSException { try (SmbFileHandleImpl fh = ensureOpen()) {} } /** * @param file * @param openFlags * @return * @throws SmbException */ synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} throw new CIFSException("Loop in DFS referrals"); } /** * @param loc * @return tree handle * @throws SmbException */ public SmbTreeHandleImpl connectWrapException(final SmbResourceLocatorImpl loc) throws SmbException { try { return connect(loc); } catch (final SmbException se) { throw se;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
* corresponding call to [FrameCallback]. */ @Throws(IOException::class) fun processNextFrame() { readHeader() if (isControlFrame) { readControlFrame() } else { readMessageFrame() } } @Throws(IOException::class, ProtocolException::class) private fun readHeader() { if (closed) throw IOException("closed")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
void testDelete() throws CIFSException { // When/Then assertDoesNotThrow(() -> mockResource.delete(), "Delete operation should not throw exception"); verify(mockResource).delete(); } @Test @DisplayName("copy operation should work correctly") void testCopyTo() throws CIFSException { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
monitor.leave(); } } /** * @throws UnsupportedOperationException {@inheritDoc} * @throws ClassCastException {@inheritDoc} * @throws NullPointerException {@inheritDoc} * @throws IllegalArgumentException {@inheritDoc} */ @CanIgnoreReturnValue @Override public int drainTo(Collection<? super E> c) { if (c == null) throw new NullPointerException();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
* @param unshared whether to use an exclusive connection * @throws DcerpcException if DCERPC initialization fails * @throws MalformedURLException if the URL is malformed */ public DcerpcPipeHandle(final String url, final CIFSContext tc, final boolean unshared) throws DcerpcException, MalformedURLException { super(tc, DcerpcHandle.parseBinding(url));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
@Override public void encode(NdrBuffer dst) throws NdrException { if (throwOnEncode) { throw new NdrException("Failed to encode"); } // Simulate some encoding activity on the buffer dst.enc_ndr_long(123); } @Override public void decode(NdrBuffer src) throws NdrException { if (throwOnDecode) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
} public void testCopyTo_appendable() throws IOException { StringBuilder builder = new StringBuilder(); assertEquals(STRING.length(), source.copyTo(builder)); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); assertEquals(STRING, builder.toString()); } public void testCopyTo_charSink() throws IOException { TestCharSink sink = new TestCharSink();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0)