- Sort Score
- Num 10 results
- Language All
Results 2011 - 2020 of 2,828 for exception (0.08 seconds)
-
src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java
import org.junit.jupiter.api.TestInfo; public class LogNotificationJobTest extends UnitFessTestCase { private LogNotificationJob logNotificationJob; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); logNotificationJob = new LogNotificationJob(); } @Test public void test_constructor() { LogNotificationJob job = new LogNotificationJob();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.5K bytes - Click Count (0) -
.teamcity/scripts/CheckBadMerge.java
private static List<String> filesFromMerge(String commit) throws IOException, InterruptedException, ExecutionException { // Git revision range syntax is part of git, not the shell; pass as-is. return getStdoutLines(new String[] {"git", "diff", "--name-only", commit + "^1.." + commit}); } private static List<String> branchesOf(String commit) throws IOException, InterruptedException, ExecutionException {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 16:25:09 GMT 2026 - 9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
taskFaker.runTasks() client.listener.assertFailure(IOException::class.java, "source is closed") assertThat(client.webSocket!!.send("Hello!")).isFalse() } @Test fun socketClosedDuringMessageKillsWebSocket() { server.source.close() assertThat(client.webSocket!!.send("Hello!")).isTrue() taskFaker.runTasks() client.listener.assertFailure(IOException::class.java, "source is closed")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 18.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
void testBufferUnderflowDecode() { // Given byte[] shortBuffer = new byte[20]; // Too short for transform header // When/Then assertThrows(Exception.class, () -> { Smb2TransformHeader.decode(shortBuffer, 0); }); } @Test @DisplayName("Should handle buffer overflow during encode") void testBufferOverflowEncode() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* java.util.TreeMap}). * * <p>Each method invocation on the set returned by this method results in exactly one method * invocation on the backing map or its {@code keySet} view, with one exception. The {@code * addAll} method is implemented as a sequence of {@code put} invocations on the backing map. * * <p>The specified map must be empty at the time this method is invoked, and should not beCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Converter.java
} // SPI methods (what subclasses must implement) /** * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown. * * @param a the instance to convert; will never be null * @return the converted instance; <b>must not</b> be null */ @ForOverride
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 18 21:43:06 GMT 2025 - 22.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
* was called, in which case entries are sorted by value. * * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method * will throw an exception if there are duplicate keys or values. The {@code build()} method * will soon be deprecated. * * @throws IllegalArgumentException if duplicate keys or values were added */ @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.7K bytes - Click Count (0) -
docs/zh-hant/docs/how-to/custom-request-and-route.md
這麼做之後,`GzipRequest` 會在把資料交給 *路徑操作* 之前(若有需要)先負責解壓縮。 之後的處理邏輯完全相同。 但由於我們修改了 `GzipRequest.body`,在 **FastAPI** 需要讀取本文時,請求本文會自動解壓縮。 ## 在例外處理器中存取請求本文 { #accessing-the-request-body-in-an-exception-handler } /// tip 要解決相同問題,使用針對 `RequestValidationError` 的自訂處理器來讀取 `body` 通常更簡單([處理錯誤](../tutorial/handling-errors.md#use-the-requestvalidationerror-body))。 但本範例仍然有效,並示範了如何與內部元件互動。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
signingKey = msg3.getMasterKey(); } isEstablished = true; state++; break; } catch (final Exception e) { throw new SmbException(e.getMessage(), e); } default: throw new SmbException("Invalid state"); } return token; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7K bytes - Click Count (0)