- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 2,828 for exception (0.06 seconds)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
@Test void testFailureWithNoAlternativeChannels() throws Exception { failedChannel.addPendingOperation(mockOperation); when(mockLoadBalancer.selectChannel(mockOperation)).thenThrow(new ChannelLoadBalancer.NoAvailableChannelException("No channels")); IOException error = new IOException("Connection failed"); // Should not throw exception even if no alternative channelsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
assertFalse(capabilities.contains(RdmaCapability.RDMA_WRITE), "Should not support RDMA write"); } @Test public void testCreateConnection() throws Exception { InetSocketAddress remote = new InetSocketAddress("localhost", 445); InetSocketAddress local = null; RdmaConnection connection = provider.createConnection(remote, local);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/SMBProtocolDecodingException.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal; import jcifs.CIFSException; /** * Exception thrown when errors occur during SMB protocol message decoding. * Indicates that an SMB message could not be properly parsed or decoded due to * malformed data, protocol violations, or unsupported message formats. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java
} // Test register with null factory throws exception @Test public void test_register_nullFactory() { ComponentUtil.register(null, "scriptEngineFactory"); try { testScriptEngine.register(); fail("Should throw exception when factory is null"); } catch (NullPointerException e) { // Expected exception } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback(e); addCallback(f, callback, directExecutor()); } public void testOnSuccessThrowsRuntimeException() throws Exception { RuntimeException exception = new RuntimeException(); String result = "result"; SettableFuture<String> future = SettableFuture.create(); int[] successCalls = new int[1]; int[] failureCalls = new int[1];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 6.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
} } exception = null; break; } catch (final Exception e) { exception = new SuggesterException(e); scrollId = null; } } docCount.getAndAdd(queue.size()); if (exception != null) { throw exception; } } /**Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 11.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* <li>throwing an exception of some kind * <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations * have, of returning a new, independent iterator * </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/EmptyArgumentException.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.exception; /** * Exception thrown when an argument is empty. * * @author higa */ public class EmptyArgumentException extends ClIllegalArgumentException { private static final long serialVersionUID = 4625805280526951642L;Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 1.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MultiReaderTest.java
import java.io.FilterReader; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * @author ricebin */ @NullUnmarked public class MultiReaderTest extends TestCase { public void testOnlyOneOpen() throws Exception { String testString = "abcdefgh";Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.8K bytes - Click Count (0)