- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 3,282 for throwIt (0.08 seconds)
-
src/main/java/jcifs/spnego/NegTokenInit.java
} /** * Constructs a NegTokenInit by parsing the provided token bytes * @param token the SPNEGO token bytes to parse * @throws IOException if parsing fails */ public NegTokenInit(final byte[] token) throws IOException { parse(token); } /** * Gets the context flags indicating security capabilities * @return the context flags */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
private final ServerSocket serverSocket; private MyServerExampleWithFrq() throws IOException { this.serverSocket = new ServerSocket(0); } static MyServerExampleWithFrq create(AtomicBoolean finalizeReferentRan) throws IOException { MyServerExampleWithFrq myServer = new MyServerExampleWithFrq(); ServerSocket serverSocket = myServer.serverSocket;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 8.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Ordering.java
* @throws NoSuchElementException if {@code iterator} is empty * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this * ordering. * @since 11.0 */ @ParametricNullness public <E extends T> E min(Iterator<E> iterator) { // let this throw NoSuchElementException as necessary E minSoFar = iterator.next();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
* @return the actual version string with timestamp and build number, or null if not found * @throws SAXException if XML parsing fails * @throws IOException if I/O error occurs */ protected String getSnapshotActualVersion(final DocumentBuilder builder, final String pluginUrl, final String version) throws SAXException, IOException { String timestamp = null; String buildNumber = null;Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 24.9K bytes - Click Count (0) -
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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java
/** * Exception thrown when there is an issue with the suggestion index. * This exception extends {@link SuggesterException}. * * <p>This exception can be thrown with a message, a cause, or both.</p> * * <pre> * Example usage: * throw new SuggestIndexException("Indexing error occurred"); * throw new SuggestIndexException(new IOException("IO error"));Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
assertEquals(expected, result); verify(transport, times(1)).disconnect(hard, inuse); } // Error case: disconnect throws IOException @Test @DisplayName("disconnect throws IOException when underlying close fails") void disconnect_throwsIOException() throws Exception { doThrow(new java.io.IOException("close error")).when(transport).disconnect(true, true);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
} catch (NoSuchFieldException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchFieldException(fieldName); } private static void setPrivateField(Object target, String fieldName, Object value) throws Exception { Class<?> clazz = target.getClass(); while (clazz != null) { try {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testReadPacketTypeSpecialStream() throws IOException { // Create a mock stream that returns exactly -1 on first read (special case) when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(-1); // Immediate EOF byte[] buffer = new byte[10]; // The readn method will return 0 when stream returns -1 // So this should still throw IOException, not return -1
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.5K bytes - Click Count (0)