Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 1,428 for scratch (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

          fail();
        } catch (TimeoutException expected) {
        } catch (ExecutionException e) {
          throw new AssertionError(e);
        }
      }
    
      static void verifyTimedGetOnPendingFuture(Future<?> future) {
        try {
          getUninterruptibly(future, 0, SECONDS);
          fail();
        } catch (TimeoutException expected) {
        } catch (ExecutionException e) {
          throw new AssertionError(e);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/CloserTest.java

        IOException exception = new IOException();
    
        try {
          try {
            throw exception;
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        } catch (Throwable caught) {
          assertThat(caught).isEqualTo(exception);
        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                                        Thread.sleep(10);
                                    } catch (InterruptedException ie) {
                                        // ignore
                                    }
                                    file.delete(); // if this fails, forget about it
                                }
                            }
                        } catch (TransferFailedException e) {
                            getLogger()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", token);
            try {
                accessTokenHelper.getAccessTokenFromRequest(req);
                fail();
            } catch (InvalidAccessTokenException e) {
                // ok
            }
        }
    
        @Test
        public void test_getAccessTokenFromRequest_bad2() {
            final String token = "Bearer";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

                return result;
            } catch (final JobProcessingException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Script raised JobProcessingException", e);
                }
                logScriptExecution(template, "failure:" + e.getClass().getSimpleName());
                throw e;
            } catch (final Exception e) {
                final String truncatedScript =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

         */
        public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException {
            assertArgumentNotNull("ps", ps);
    
            try {
                return ps.executeQuery();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Executes the update.
         *
         * @param ps
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

                try {
                    serverSideCopy(src, dest, sh, dh, false);
                    return;
                } catch (final SmbUnsupportedOperationException e) {
                    log.debug("Server side copy not supported, falling back to normal copying", e);
                } catch (final CIFSException e) {
                    log.warn("Server side copy failed", e);
                    throw SmbException.wrap(e);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

                factory.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
            } catch (SAXNotRecognizedException | SAXNotSupportedException e) {
                throw new SAXRuntimeException(e);
            } catch (final ParserConfigurationException e) {
                throw new ParserConfigurationRuntimeException(e);
            }
            return factory;
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readByte();
          } catch (EOFException e) {
            throw new IllegalStateException(e);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public int readUnsignedByte() {
          try {
            return input.readUnsignedByte();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                    return peer.loadClass(name);
                } catch (final Exception e) {
                    // drop through...
                } catch (final LinkageError e) {
                    // drop through...
                }
            }
    
            try {
                // last chance - classic model
                return Class.forName(name);
            } catch (final Exception e) {
                throw new TypeNotPresentException(name, e);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top