- Sort Score
- Num 10 results
- Language All
Results 731 - 740 of 2,310 for rethrow (0.06 seconds)
-
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
throw new RuntimeCIFSException("Test exception"); }); // Test that it can be caught specifically assertThrows(RuntimeCIFSException.class, () -> { throw new RuntimeCIFSException("Test exception"); }); // Test exception handling behavior try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
} @Test public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Test throw and catch"; try { throw new SearchQueryException(expectedMessage); } catch (SearchQueryException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
super(Preconditions.checkNotNull(in)); } /** This method will throw an {@link UnsupportedOperationException}. */ @CanIgnoreReturnValue // to skip a line @Override @DoNotCall("Always throws UnsupportedOperationException") public String readLine() { throw new UnsupportedOperationException("readLine is not supported"); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 7.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
get() = when (this) { is CtField -> "$name:$signature" is CtConstructor -> "<init>$signature" is CtMethod -> "$name$signature" else -> throw IllegalArgumentException("Unsupported javassist member type '${this::class}'") } } internal enum class MemberType { TYPE, CONSTRUCTOR, FIELD, METHOD } private
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jul 04 09:21:38 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java
*/ @SuppressWarnings("nullness") // test of a bogus call static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) { // URL escapers should throw null pointer exceptions for null input try { e.escape((String) null); fail("Escaping null string should throw exception"); } catch (NullPointerException x) { // pass } // All URL escapers should leave 0-9, A-Z, a-z unescapedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 3.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
clientListener.setNextEventDelegate( object : WebSocketListener() { override fun onOpen( webSocket: WebSocket, response: Response, ): Unit = throw e }, ) newWebSocket() serverListener.assertOpen() serverListener.assertFailure(EOFException::class.java) serverListener.assertExhausted() clientListener.assertFailure(e) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Tables.java
@ParametricNullness V value) { throw new UnsupportedOperationException(); } @Override public void putAll(Table<? extends R, ? extends C, ? extends V> table) { throw new UnsupportedOperationException(); } @Override public @Nullable V remove(@Nullable Object rowKey, @Nullable Object columnKey) { throw new UnsupportedOperationException(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 24.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedMultiset.java
* multiset, so changes to one will be reflected in the other. The returned multiset supports all * operations that this multiset supports. * * <p>The returned multiset will throw an {@link IllegalArgumentException} on attempts to add * elements outside its range. */ SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedMultiset.java
* multiset, so changes to one will be reflected in the other. The returned multiset supports all * operations that this multiset supports. * * <p>The returned multiset will throw an {@link IllegalArgumentException} on attempts to add * elements outside its range. */ SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
int pos = 0; for (int i = 0; i < 8; i++) { if (material[i] != NTLMSSP_SIGNATURE[i]) { throw new IOException("Not an NTLMSSP message."); } } pos += 8; if (readULong(material, pos) != NTLMSSP_TYPE1) { throw new IOException("Not a Type 1 message."); } pos += 4; final int flags = readULong(material, pos);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.8K bytes - Click Count (0)