- Sort Score
- Num 10 results
- Language All
Results 1271 - 1280 of 2,310 for rethrow (0.05 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
if (map.remove(key, oldValue)) { threadSum -= oldValue; } break; default: throw new AssertionError(); } } return threadSum; } })); } threadPool.shutdown();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
return epoch; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { int start = bufferIndex; if (len < 52) { throw new SMBProtocolDecodingException("Lease V2 context data too short: " + len); } // Read lease V2 data (52 bytes) byte[] keyBytes = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java
final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 9) { throw new SMBProtocolDecodingException("Expected structureSize = 9"); } final int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart(); bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java
try { return doCleanArgs(args); } catch (RuntimeException e) { for (String a : args) { System.out.println("Arg: '" + a + "'"); } throw e; } } private static String[] doCleanArgs(String[] args) { List<String> cleaned = new ArrayList<>(); StringBuilder currentArg = null; for (String arg : args) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
* This interface forms the contract required for <code>Mojos</code> to interact with the <code>Maven</code> * infrastructure.<br> * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw * a MojoExecutionException or MojoFailureException if error conditions occur.<br> * Also included is the <code>setLog(...)</code> method, which simply allows Maven to inject a logging mechanism which
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
directExecutor()); } else { switch (status.get()) { case SUBSUMED: throw new IllegalStateException( "Cannot call finishToFuture() after deriving another step"); case WILL_CREATE_VALUE_AND_CLOSER: throw new IllegalStateException( "Cannot call finishToFuture() after calling finishToValueAndCloser()");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 101.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PythonJobTest.java
@Test public void test_executePython_blankFilename() { pythonJob.filename(""); try { pythonJob.executePython(); fail("Should throw JobProcessingException"); } catch (JobProcessingException e) { assertEquals("Python script is not specified.", e.getMessage()); } } // Test executePython with null filenameCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
client.newCall(requestA).enqueue(callbackA) callbackA.await(requestA.url).assertBody("a") } catch (e: Exception) { throw RuntimeException(e) } } chain.proceed(chain.request()) }, ).build() val requestB = Request .Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
public E next() { if (cursor >= array.length) throw new NoSuchElementException(); lastRet = cursor; // array comes from q.toArray() and so should have only E's in it @SuppressWarnings("unchecked") E e = (E) array[cursor++]; return e; } @Override public void remove() { if (lastRet < 0) throw new IllegalStateException(); Object x = array[lastRet];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 19K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java
} else { System.out.println("Force cache: false"); clientForCall = client; } try (Response response = clientForCall.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(" Network: " + (response.networkResponse() != null)); System.out.println(); } } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 2.6K bytes - Click Count (0)