Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,765 for throwIt (1.43 sec)

  1. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                        return;
                    case 2:
                        throw new IllegalArgumentException("Invalid argument");
                    case 3:
                        throw new IllegalStateException("Invalid state");
                    case 4:
                        throw new NullPointerException("Null pointer");
                    default:
                        throw new RuntimeException("Generic error");
                    }
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClusterException.java

       * added.
       *
       * @throws NullPointerException if {@code exceptions} is null
       * @throws IllegalArgumentException if {@code exceptions} is empty
       */
      static RuntimeException create(Collection<? extends Throwable> exceptions) {
        if (exceptions.size() == 0) {
          throw new IllegalArgumentException("Can't create an ExceptionCollection with no exceptions");
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

         *
         * @param resource the login handling resource to check permission for
         * @throws LoginRequiredException if login is required
         * @throws UserRoleLoginException if the user doesn't have required roles
         */
        @Override
        protected void checkPermission(final LoginHandlingResource resource) throws LoginRequiredException {
            if (FessAdminAction.class.isAssignableFrom(resource.getActionClass())) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

      public void exceptionThrowingMethod(Object arg) throws Exception {
        throw new IntentionalException();
      }
    
      /** Local exception subclass to check variety of exception thrown. */
      class IntentionalException extends Exception {
    
        private static final long serialVersionUID = -2500191180248181379L;
      }
    
      @Subscribe
      public void errorThrowingMethod(Object arg) {
        throw new JudgmentError();
      }
    
      @Subscribe
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testToString_misbehaving() throws Exception {
        assertThat(
                new AbstractFuture<Object>() {
                  @Override
                  public String pendingToString() {
                    throw new RuntimeException("I'm a misbehaving implementation");
                  }
                }.toString())
            .matches(
                "[^\\[]+\\[status=PENDING, info=\\[Exception thrown from implementation: "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * performance for unescaped strings (as measured by {@code CharEscapersBenchmark}).
       *
       * @param string the literal string to be escaped
       * @return the escaped form of {@code string}
       * @throws NullPointerException if {@code string} is null
       * @throws IllegalArgumentException if invalid surrogate characters are encountered
       */
      @Override
      public String escape(String string) {
        checkNotNull(string);
        int end = string.length();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/escape/UnicodeEscaper.java

       * performance for unescaped strings (as measured by {@code CharEscapersBenchmark}).
       *
       * @param string the literal string to be escaped
       * @return the escaped form of {@code string}
       * @throws NullPointerException if {@code string} is null
       * @throws IllegalArgumentException if invalid surrogate characters are encountered
       */
      @Override
      public String escape(String string) {
        checkNotNull(string);
        int end = string.length();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

        }
    
        public void test_execute_withException() {
            // Create mock SearchEngineClient that throws exception
            searchEngineClient = new SearchEngineClient() {
                @Override
                public long deleteByQuery(String index, QueryBuilder query) {
                    throw new RuntimeException("Delete operation failed");
                }
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ClusterException.java

       * added.
       *
       * @throws NullPointerException if {@code exceptions} is null
       * @throws IllegalArgumentException if {@code exceptions} is empty
       */
      static RuntimeException create(Collection<? extends Throwable> exceptions) {
        if (exceptions.size() == 0) {
          throw new IllegalArgumentException("Can't create an ExceptionCollection with no exceptions");
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Uninterruptibles.java

      @CanIgnoreReturnValue
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
          throws ExecutionException {
        try {
          return future.get();
        } catch (InterruptedException e) {
          // Should never be thrown in GWT but play it safe
          throw new IllegalStateException(e);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top