Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 2,436 for exception (0.07 sec)

  1. android/guava-tests/test/com/google/common/base/VerifyTest.java

            @Override
            public String toString() {
              throw new AssertionFailedError();
            }
          };
    
      private static final String FORMAT = "I ate %s pies.";
    
      private static void checkMessage(Exception e) {
        assertThat(e).hasMessageThat().isEqualTo("I ate 5 pies.");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.container.CrawlerContainer;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     *
     */
    public class ExtractorFactory {
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Optional.java

       * java.util.NoSuchElementException NoSuchElementException}.
       *
       * @throws IllegalStateException if the instance is absent ({@link #isPresent} returns {@code
       *     false}); depending on this <i>specific</i> exception type (over the more general {@link
       *     RuntimeException}) is discouraged
       */
      public abstract T get();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Verify.java

     *       considered "compiled comments."
     *   <li>An explicit {@code if/throw} (as illustrated below) is always acceptable; we still
     *       recommend using our {@link VerifyException} exception type. Throwing a plain {@link
     *       RuntimeException} is frowned upon.
     *   <li>Use of {@link java.util.Objects#requireNonNull(Object)} is generally discouraged, since
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  5. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

      }
    
      private MockResponse fileToResponse(String path, File file) throws IOException {
        return new MockResponse()
            .setStatus("HTTP/1.1 200")
            .setBody(fileToBytes(file))
            .addHeader("content-type: " + contentType(path));
      }
    
      private Buffer fileToBytes(File file) throws IOException {
        Buffer result = new Buffer();
        result.writeAll(Okio.source(file));
        return result;
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/FunnelsTest.java

              }
            };
        try {
          funnel.funnel(null, primitiveSink);
          fail();
        } catch (NullPointerException ok) {
        }
      }
    
      public void testAsOutputStream() throws Exception {
        PrimitiveSink sink = mock(PrimitiveSink.class);
        OutputStream out = Funnels.asOutputStream(sink);
        byte[] bytes = {1, 2, 3, 4};
        out.write(255);
        out.write(bytes);
        out.write(bytes, 1, 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        }
    
    
        /**
         * Set flag
         * 
         * @param flag
         */
        public void setFlag ( int flag ) {
            this.flags |= flag;
        }
    
    
        /**
         * 
         * @return result exception, if the call failed
         */
        public DcerpcException getResult () {
            if ( this.result != 0 )
                return new DcerpcException(this.result);
            return null;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

    import org.codelibs.fess.crawler.entity.AccessResultData;
    import org.codelibs.fess.crawler.entity.AccessResultDataImpl;
    import org.codelibs.fess.crawler.entity.AccessResultImpl;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.helper.MemoryDataHelper;
    import org.codelibs.fess.crawler.service.DataService;
    import org.codelibs.fess.crawler.util.AccessResultCallback;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

            this.bytesReceived += byteCount
          } catch (e: IOException) {
            throw complete(e)
          }
        }
    
        @Throws(IOException::class)
        override fun flush() {
          try {
            super.flush()
          } catch (e: IOException) {
            throw complete(e)
          }
        }
    
        @Throws(IOException::class)
        override fun close() {
          if (closed) return
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/CurlHelper.java

                    sslContext.init(null, trustManagerFactory.getTrustManagers(), null);
                    sslSocketFactory = sslContext.getSocketFactory();
                } catch (final Exception e) {
                    logger.warn("Failed to load {}", authorities, e);
                }
            }
    
            final String[] hosts = split(ResourceUtil.getFesenHttpUrl(), ",")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top