Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1331 - 1340 of 1,651 for Exceptions (0.1 sec)

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

        try {
          queue.dispatch();
        } finally {
          logger.removeHandler(logHandler);
        }
    
        assertEquals(1, logHandler.getStoredLogRecords().size());
        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  2. 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.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

        }
    
        private boolean isMissingPom(Exception e) {
            if (e.getCause() instanceof MultipleArtifactsNotFoundException) {
                return true;
            }
            return e.getCause() instanceof org.eclipse.aether.resolution.ArtifactResolutionException
                    && e.getCause().getCause() instanceof ArtifactNotFoundException;
        }
    
        private boolean isNonTransferablePom(Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            };
        tester.test();
      }
    
      public void testIteratorTester() throws Exception {
        Random random = new Random(0);
        List<Integer> list = Lists.newArrayList();
        for (int i = 0; i < 3; i++) {
          list.add(random.nextInt());
        }
        runIterator(list, 6);
      }
    
      public void testIteratorTesterLarger() throws Exception {
        runIterator(Lists.newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), 5);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/PrunedTag.java

    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    import org.apache.commons.lang3.StringUtils;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.exception.FessSystemException;
    import org.w3c.dom.Node;
    
    public class PrunedTag {
        private final String tag;
        private String id;
        private String css;
        private String attrName;
        private String attrValue;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       */
      val sequenceNumber: Int,
      socket: Socket,
      /**
       * The failure MockWebServer recorded when attempting to decode this request. If, for example,
       * the inbound request was truncated, this exception will be non-null.
       */
      val failure: IOException? = null,
    ) {
      val method: String?
      val path: String?
    
      /**
       * The TLS handshake of the connection that carried this request, or null if the request was
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/PingResponse.java

    import java.util.Set;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.SearchEngineUtil;
    import org.lastaflute.di.exception.IORuntimeException;
    import org.opensearch.action.admin.cluster.health.ClusterHealthResponse;
    import org.opensearch.cluster.health.ClusterHealthStatus;
    import org.opensearch.common.xcontent.XContentType;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

            osddHelper.init();
            assertFalse(osddHelper.hasOpenSearchFile());
    
            try {
                osddHelper.asStream();
                fail();
            } catch (final Exception e) {
                assertEquals("Unsupported Open Search Description Document response.", e.getMessage());
            }
        }
    
        public void test_init_osddpath() throws IOException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        if (path.endsWith(".txt")) return "text/plain; charset=utf-8";
        return "application/octet-stream";
      }
    
      public static void main(String[] args) throws Exception {
        if (args.length != 4) {
          System.out.println("Usage: SampleServer <keystore> <password> <root file> <port>");
          return;
        }
    
        String keystoreFile = args[0];
        String password = args[1];
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/WriterUtil.java

    import java.io.FileOutputStream;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * {@link Writer}用のユーティリティクラスです。
     *
     * @author koichik
     */
    public abstract class WriterUtil {
    
        /**
         * 指定のエンコーディングでストリームへ出力する{@link Writer}を作成します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top