Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for throwException (0.05 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

      protected volatile boolean throwException = false;
    
      protected final ListenableFutureTask<Integer> task =
          ListenableFutureTask.create(
              new Callable<Integer>() {
                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
                    throw new IllegalStateException("Fail");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

            }
    
            public void setPurgeCallCount(long count) {
                this.purgeCallCount = count;
            }
    
            public void setThrowException(boolean throwException) {
                this.throwException = throwException;
            }
    
            public void setExceptionMessage(String message) {
                this.exceptionMessage = message;
            }
    
            public long getPurgeExpiry() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

      protected volatile boolean throwException = false;
    
      protected final ListenableFutureTask<Integer> task =
          ListenableFutureTask.create(
              new Callable<Integer>() {
                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
                    throw new IllegalStateException("Fail");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            queryRescorer = new QueryRescorer() {
                @Override
                public RescorerBuilder<?> evaluate(Map<String, Object> params) {
                    if (params != null && params.containsKey("throwException")) {
                        throw new RuntimeException("Test exception");
                    }
                    return createMockRescorerBuilder();
                }
            };
    
            // Test normal case
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top