Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2261 - 2270 of 2,948 for throwIf (0.3 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

        try {
          try {
            ProviderInstaller.installIfNeeded(InstrumentationRegistry.getInstrumentation().targetContext)
          } catch (gpsnae: GooglePlayServicesNotAvailableException) {
            throw TestAbortedException("Google Play Services not available", gpsnae)
          }
    
          val request = Request.Builder().url("https://facebook.com/robots.txt").build()
    
          var socketClass: String? = null
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    
    /**
     * Exception thrown when an error occurs during data store crawling operations.
     * This exception provides information about the URL where the error occurred
     * and whether the crawling process should be aborted.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

         * and performs bulk indexing operations with proper error handling.
         *
         * @param searchEngineClient the search engine client to use for indexing
         * @param docList the list of documents to be indexed
         * @throws SearchEngineClientException if the bulk indexing operation fails
         */
        public void sendDocuments(final SearchEngineClient searchEngineClient, final DocList docList) {
            if (docList.isEmpty()) {
                return;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        }
    
        @Test
        public void test_hashCode_withNullInput() {
            // Test hashCode with null input - should not throw, returns consistent hash for null
            ProtwordsItem item1 = new ProtwordsItem(1, null);
            ProtwordsItem item2 = new ProtwordsItem(2, null);
    
            // Should not throw
            int hash1 = item1.hashCode();
            int hash2 = item2.hashCode();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/exception/WebApiException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when web API operations encounter errors.
     * This exception includes an HTTP status code to indicate the nature of the error.
     */
    public class WebApiException extends FessSystemException {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
            try (InputStream is = source.getInputStream();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

     * ```
     */
    class MockWebServerRule : ExternalResource() {
      val server: MockWebServer = MockWebServer()
    
      override fun before() {
        try {
          server.start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      override fun after() {
        server.close()
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jun 16 22:36:18 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java

        ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3);
        ImmutableList<Integer> unused =
            new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null});
        // shouldn't throw!
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptParser.java

        protected Options parseCliOptions(LocalContext context) {
            try {
                return CommonsCliEncryptOptions.parse(context.parserRequest.args().toArray(new String[0]));
            } catch (ParseException e) {
                throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e);
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top