- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 570 for throwing (0.05 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
@BeforeEach fun setUp() { platform.assumeNotOpenJSSE() platform.assumeHttp2Support() } @Test fun serverTruncatesRequestOnLongPostHttp1() { // "java.net.SocketException: Socket closed" thrown reading response after // "java.net.SocketException: Connection reset by peer" writing request assumeNotWindows() serverTruncatesRequestOnLongPost(https = false) } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 11:54:15 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
byte[] buffer = new byte[4]; // Set error code to 0 setErrorCode(response, 0); // ArrayIndexOutOfBoundsException is thrown when buffer is too small assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readDataWireFormat(buffer, 0, buffer.length); }); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
// When/Then: Should throw exception NdrException thrown = assertThrows(NdrException.class, () -> entry.decode(mockNdrBuffer)); assertEquals(NdrException.INVALID_CONFORMANCE, thrown.getMessage()); } } @Nested @DisplayName("SamrSamArray Tests") class SamrSamArrayTests { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.ndr; import java.io.IOException; /** * Exception thrown when an error occurs during NDR encoding or decoding operations. */ public class NdrException extends IOException { /** * Error message for null reference pointers. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy
given: def allVersions = ["2.0.0", "2.0.0-RC1", "2.0.0-Beta1"] when: UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions) then: def ex = thrown(IllegalArgumentException) ex.message == "Minimum supported '1.9.10' was not found in available versions: [2.0.0, 2.0.0-RC1, 2.0.0-Beta1]" }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Oct 29 08:29:55 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FutureCallback.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/DictionaryException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.dict; import org.codelibs.fess.exception.FessSystemException; /** * Exception thrown when dictionary operations encounter errors. * This exception is typically used for issues during dictionary file * reading, writing, parsing, or other dictionary-related operations. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/StorageException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * This exception is thrown when a storage-related error occurs. * It can be used to wrap underlying storage exceptions, providing a * consistent error handling mechanism for storage operations. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Set; /** * Thrown when requirements on a tester method or class conflict with each other. * * @author George van den Driessche */ @GwtCompatible public class ConflictingRequirementsException extends Exception {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/NoSuchConstructorRuntimeException.java
import static org.codelibs.core.collection.ArrayUtil.asArray; import java.lang.reflect.Constructor; import org.codelibs.core.lang.MethodUtil; /** * Exception that wraps a {@link NoSuchMethodException} thrown when a {@link Constructor} cannot be found. * * @author higa */ public class NoSuchConstructorRuntimeException extends ClRuntimeException { private static final long serialVersionUID = 8688818589925114466L;Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 2.1K bytes - Click Count (0)