Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1531 - 1540 of 2,252 for exception (0.22 seconds)

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

  1. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

      }
    
      private void drainQueue() throws Exception {
        for (HttpUrl url; (url = queue.take()) != null; ) {
          if (!fetchedUrls.add(url)) {
            continue;
          }
    
          Thread currentThread = Thread.currentThread();
          String originalName = currentThread.getName();
          currentThread.setName("Crawler " + url);
          try {
            fetch(url);
          } catch (IOException e) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

      }
    
      private MockResponse fileToResponse(String path, File file) throws IOException {
        return new MockResponse()
            .setStatus("HTTP/1.1 200")
            .setBody(fileToBytes(file))
            .addHeader("content-type: " + contentType(path));
      }
    
      private Buffer fileToBytes(File file) throws IOException {
        Buffer result = new Buffer();
        result.writeAll(Okio.source(file));
        return result;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            try {
                java.lang.reflect.Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                return f.get(target);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class QueryFieldConfigTest extends UnitFessTestCase {
    
        private QueryFieldConfig queryFieldConfig;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
    
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
    
                @Override
                public String[] getQueryAdditionalResponseFields(String... fields) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      @Throws(IOException::class)
      fun loopReader(response: Response) {
        try {
          listener.onOpen(this@RealWebSocket, response)
          while (receivedCloseCode == -1) {
            // This method call results in one or more onRead* methods being called on this thread.
            reader!!.processNextFrame()
          }
        } catch (e: Exception) {
          failWebSocket(e = e)
        } finally {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

    import org.junit.jupiter.api.TestInfo;
    
    public class UserAgentHelperTest extends UnitFessTestCase {
    
        public UserAgentHelper userAgentHelper;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            userAgentHelper = new UserAgentHelper();
        }
    
        @Test
        public void test_getUserAgentType_IE9() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java

        public Document buildDocument() {
            try {
                String xmlContent = build();
                Editor editor = new Editor(Document.of(xmlContent));
                return editor.document();
            } catch (Exception e) {
                throw new RuntimeException("Failed to build POM document", e);
            }
        }
    
        private record Parent(String groupId, String artifactId, String version) {}
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/resources/checkstyle.xml

          it. We can't outright ban it with ForbiddenApis because it complain about
          every we reference a class that implements Serializable like String or
          Exception.
          -->
        <module name="RegexpSinglelineJava">
          <property name="format" value="serialVersionUID" />
          <property name="message" value="Do not declare serialVersionUID." />
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
  9. .teamcity/scripts/FindCommits.java

    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.charset.StandardCharsets;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Objects;
    import java.util.stream.Collectors;
    
    /**
     * TeamCity helper script that prints the list of commits in the current PR (one SHA per line).
     *
     * Usage (Java 11+ single-file source execution):
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

                try {
                    jobLogService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top