Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 426 for Throwables (0.54 sec)

  1. guava/src/com/google/common/io/CharSource.java

          return lengthIfKnown.get();
        }
    
        Closer closer = Closer.create();
        try {
          Reader reader = closer.register(openStream());
          return countBySkipping(reader);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      private long countBySkipping(Reader reader) throws IOException {
        long count = 0;
        long read;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            ParseException parseException = new ParseException("Query parsing failed");
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            Throwable cause = queryParseException.getCause();
            assertNotNull(cause);
            assertTrue(cause instanceof ParseException);
            assertEquals(parseException, cause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
            startThread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

        AtomicBoolean actualIsOccupied = new AtomicBoolean();
        AtomicBoolean actualIsOccupiedByCurrentThread = new AtomicBoolean();
        AtomicInteger actualOccupiedDepth = new AtomicInteger();
        AtomicReference<Throwable> thrown = new AtomicReference<>();
        joinUninterruptibly(
            startThread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

          this.runtime = runtime;
        }
    
        @Override
        public void uncaughtException(Thread t, Throwable e) {
          try {
            logger
                .get()
                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exception/FessSystemException.java

         *
         * @param message the detail message describing the exception
         * @param cause the cause of this exception
         */
        public FessSystemException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new FessSystemException with the specified detail message.
         *
         * @param message the detail message describing the exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

                    artifact.getDependencyTrail());
        }
    
        protected ArtifactNotFoundException(
                String message, Artifact artifact, List<ArtifactRepository> remoteRepositories, Throwable cause) {
            this(
                    message,
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            // to currentFuture doesn't race with itself so that currentFuture is assigned in the
            // correct order.
            Throwable scheduleFailure = null;
            Cancellable toReturn;
            lock.lock();
            try {
              toReturn = initializeOrUpdateCancellationDelegate(schedule);
            } catch (Throwable e) {
              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      public void testForwardExceptionFastPath() throws Exception {
        class FailFuture extends InternalFutureFailureAccess implements ListenableFuture<String> {
          final Throwable failure;
    
          FailFuture(Throwable throwable) {
            failure = throwable;
          }
    
          @Override
          public boolean cancel(boolean mayInterruptIfRunning) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            // to currentFuture doesn't race with itself so that currentFuture is assigned in the
            // correct order.
            Throwable scheduleFailure = null;
            Cancellable toReturn;
            lock.lock();
            try {
              toReturn = initializeOrUpdateCancellationDelegate(schedule);
            } catch (Throwable e) {
              // Any Exception is either a RuntimeException or sneaky checked exception.
              //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
Back to top