- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 3,747 for throw (0.02 seconds)
-
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
super(out); } @Override public synchronized void write(final byte[] b, int off, final int len) throws IOException { if (len > 0xFFFF) { throw new IOException("write too large: " + len); } if (off < 4) { throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off"); } off -= 4;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
throw new UnsupportedOperationException(); } @Override public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { throw new UnsupportedOperationException(); } @Override public @Nullable V putIfAbsent(K key, V value) { throw new UnsupportedOperationException(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
* * @throws CIFSException if an error occurs while opening the file */ public void open() throws CIFSException { try (SmbFileHandleImpl fh = ensureOpen()) {} } /** * @param file * @param openFlags * @return * @throws SmbException */ synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
} @Benchmark void oldRepeat(long reps) { for (int i = 0; i < reps; i++) { String x = oldRepeat(originalString, count); if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.4K bytes - Click Count (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
try { server.start(); } catch (final Exception e) { throw new CrawlerSystemException(e); } } public void stop() { try { server.stop(); server.join(); } catch (final Exception e) { throw new CrawlerSystemException(e); } finally { if (tempDocRoot) { docRoot.delete();Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 8.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/EmptyIterator.java
*/ public EmptyIterator() { } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); } @Override public boolean hasNext() { return false; } @Override public T next() { throw new ClUnsupportedOperationException("next"); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java
@Override public void deleteBefore(long time) { throw new RuntimeException("Crawling error"); } }; SearchLogService searchLogService = new SearchLogService() { @Override public void deleteBefore(int days) { throw new RuntimeException("Search error"); } };Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 32.7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
@Override public final boolean addAll(int index, Collection<? extends E> newElements) { throw new UnsupportedOperationException(); } @Override public final E set(int index, E element) { throw new UnsupportedOperationException(); } @Override public final void add(int index, E element) { throw new UnsupportedOperationException(); } @Override public final E remove(int index) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 11.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
} /** Returns a plan for the first attempt at [route]. This throws if no plan is possible. */ @Throws(IOException::class) internal fun planConnectToRoute( route: Route, routes: List<Route>? = null, ): ConnectPlan { if (route.address.sslSocketFactory == null) { if (ConnectionSpec.CLEARTEXT !in route.address.connectionSpecs) { throw UnknownServiceException("CLEARTEXT communication not enabled for client")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
InputStream failingStream = new InputStream() { @Override public int read() throws IOException { throw new IOException("Test exception"); } }; try { stopwordsFile.reload(null, failingStream); fail("Should throw DictionaryException"); } catch (DictionaryException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0)