Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1471 - 1480 of 2,652 for throw (0.03 sec)

  1. guava/src/com/google/common/base/Stopwatch.java

            return "ms";
          case SECONDS:
            return "s";
          case MINUTES:
            return "min";
          case HOURS:
            return "h";
          case DAYS:
            return "d";
        }
        throw new AssertionError();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 65 ) {
                throw new SMBProtocolDecodingException("Structure size is not 65");
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

              return oldValue;
            }
            next = getNext(entry);
          } while (next != UNSET);
          entries[last] = swapNext(entry, newEntryIndex);
        }
        if (newEntryIndex == Integer.MAX_VALUE) {
          throw new IllegalStateException("Cannot contain more than Integer.MAX_VALUE elements!");
        }
        int newSize = newEntryIndex + 1;
        resizeMeMaybe(newSize);
        insertEntry(newEntryIndex, key, value, hash);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

                    elevateWordService.importCsv(reader);
                    suggestHelper.storeAllElevateWords(false);
                } catch (final Exception e) {
                    throw new FessSystemException("Failed to import data.", e);
                }
            });
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                analyzerMap.put(analyzerSettingsIndexName, getAnalyzerNames());
                fieldAnalyzerMappingMap.put(analyzerSettingsIndexName, getFieldAnalyzerMapping());
            } catch (final IOException e) {
                throw new SuggestSettingsException("Failed to create mappings.");
            }
        }
    
        public String getAnalyzerSettingsIndexName() {
            return analyzerSettingsIndexName;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

       * need to prove that it isn't called.
       */
      private static class DiesOnIteratorArrayList extends ArrayList<String> {
        /** @throws UnsupportedOperationException all the time */
        @Override
        public Iterator<String> iterator() {
          throw new UnsupportedOperationException();
        }
      }
    
      public void testGetLast_withDefault_not_empty_list() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsWebAuthenticationBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends WebAuthentication> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                    installArtifact(artifact);
                    saveInfo(messages -> messages.addSuccessInstallPlugin(GLOBAL, artifact.getFileName()));
                }
            } catch (final ValidationErrorException e) {
                throw e;
            } catch (final Exception e) {
                throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, form.id), this::asListHtml);
            }
            return redirect(getClass());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      public SafeTreeMap(SortedMap<K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      private SafeTreeMap(NavigableMap<K, V> delegate) {
        this.delegate = delegate;
        if (delegate == null) {
          throw new NullPointerException();
        }
        for (K k : keySet()) {
          checkValid(k);
        }
      }
    
      @Override
      public @Nullable Entry<K, V> ceilingEntry(K key) {
        return delegate.ceilingEntry(checkValid(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""callEnd"""))
          .assertNoMoreLogs()
      }
    
      @Test
      fun dnsFail() {
        client =
          OkHttpClient.Builder()
            .dns { _ -> throw UnknownHostException("reason") }
            .eventListenerFactory(loggingEventListenerFactory)
            .build()
        try {
          client.newCall(request().build()).execute()
          fail<Any>()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top