Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1411 - 1420 of 1,669 for Exceptions (0.08 sec)

  1. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      private TypeToInstanceMap<Object> map;
    
      @Override
      protected void setUp() throws Exception {
        map = new MutableTypeToInstanceMap<>();
      }
    
      public void testPutThrows() {
        assertThrows(
            UnsupportedOperationException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          if (actualException instanceof InterruptedException) {
            return Outcome.INTERRUPT;
          } else {
            throw new AssertionError("unexpected exception", targetException);
          }
        } catch (IllegalAccessException e) {
          throw new AssertionError("unexpected exception", e);
        }
      }
    
      private void enterSatisfyGuardAndLeaveInCurrentThread() {
        monitor.enter();
        try {
          guard.setSatisfied(true);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                resolved = conflictResolver.resolveConflict(previous, node);
                            }
    
                            if (resolved == null) {
                                // TODO add better exception that can detail the two conflicting artifacts
                                ArtifactResolutionException are = new ArtifactResolutionException(
                                        "Cannot resolve artifact version conflict between "
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

            Object[].class,
            UnsignedInteger.class,
            UnsignedLong.class,
            BigInteger.class,
            BigDecimal.class,
            Throwable.class,
            Error.class,
            Exception.class,
            RuntimeException.class,
            Charset.class,
            Locale.class,
            Currency.class,
            List.class,
            Entry.class,
            Object.class,
            Equivalence.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/FilesTest.java

                SourceSinkFactories.appendingFileCharSinkFactory()));
        suite.addTestSuite(FilesTest.class);
        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractService.java

          case TERMINATED:
          case FAILED:
            throw new AssertionError();
        }
      }
    
      private void enqueueFailedEvent(final State from, final Throwable cause) {
        // can't memoize this one due to the exception
        listeners.enqueue(
            new ListenerCallQueue.Event<Listener>() {
              @Override
              public void call(Listener listener) {
                listener.failed(from, cause);
              }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/RandomAccessFileTest.java

                        raf.seek(6);
                        try {
                            raf.readFully(buf);
                            Assert.fail("Should have thrown exception");
                        }
                        catch ( SmbEndOfFileException e ) {}
                    }
    
                }
                finally {
                    f.delete();
                }
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

    import org.codelibs.fess.mylasta.direction.FessProp;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class ParameterUtilTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getAppEncryptPropertyPattern() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                builder.flush();
                try (OutputStream out = builder.getOutputStream()) {
                    stats = ((ByteArrayOutputStream) out).toString(Constants.UTF_8);
                }
            } catch (final Exception e) {
                appendException(buf, e).append(',');
            }
            buf.append("\"search_engine\":").append(stats).append(',');
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        private final Callable<T> delegate;
    
        public WrappedCallable(Callable<T> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public T call() throws Exception {
          return delegate.call();
        }
      }
    
      private static final class WrappedRunnable implements Runnable {
        private final Runnable delegate;
    
        public WrappedRunnable(Runnable delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top