Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2221 - 2230 of 3,202 for throwIt (0.1 sec)

  1. src/main/java/org/codelibs/core/exception/ResourceNotFoundRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception thrown when a resource cannot be found.
     *
     * @author higa
     */
    public class ResourceNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 9033370905740809950L;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java

    import okhttp3.Response;
    
    public class SampleHttpClient {
      private final OkHttpClient client;
    
      public SampleHttpClient() {
        client = new OkHttpClient.Builder().build();
      }
    
      public void makeCall(HttpUrl url) throws IOException {
        try (Response response = client.newCall(new Request(url, Headers.EMPTY, "GET", null)).execute()) {
          System.out.println(response.body().string());
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testGetOrDefault_nullAbsentAndUnsupported() {
        try {
          assertEquals(
              "getOrDefault(null, def) should return default or throw",
              v3(),
              getMap().getOrDefault(null, v3()));
        } catch (NullPointerException tolerated) {
        }
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(getDefault()) {
            @Throws(SocketException::class)
            override fun configureServerSocket(serverSocket: ServerSocket): ServerSocket {
              serverSocket.setReceiveBufferSize(SOCKET_BUFFER_SIZE)
              return serverSocket
            }
          }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 18:33:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

          return EnumMultiset.create(elements);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testEquals() throws Exception {
        new ClassSanityTester()
            .setDistinctValues(Class.class, Color.class, Gender.class)
            .setDistinctValues(Enum.class, Color.BLUE, Color.RED)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt

       * necessarily indicate application-layer success: `response` may still indicate an unhappy HTTP
       * response code like 404 or 500.
       */
      @Throws(IOException::class)
      fun onResponse(
        call: Call,
        response: Response,
      )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

        protected File getLocalRepositoryPath() {
            return getTestFile("target/test-classes/inheritance-repo/" + getTestSeries());
        }
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            super.setUp();
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Feb 08 16:25:25 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

        public JodExtractor jodExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            jodExtractor = new JodExtractor();
            jodExtractor.officeManager = LocalOfficeManager.builder().portNumbers(12002).build();
            jodExtractor.init();
        }
    
        @Override
        protected void tearDown() throws Exception {
            jodExtractor.destroy();
            super.tearDown();
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java

        public List<ArtifactRepository> createArtifactRepositories(
                List<Repository> pomRepositories,
                List<ArtifactRepository> externalRepositories,
                ProjectBuildingRequest request)
                throws InvalidRepositoryException {
            List<ArtifactRepository> internalRepositories = new ArrayList<>();
    
            for (Repository repository : pomRepositories) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            if (isExceptPrivateAccessible(method)) {
                return;
            }
            try {
                method.setAccessible(true);
            } catch (RuntimeException e) {
                throw new BeanMethodSetAccessibleFailureException(beanDesc.getBeanClass(), method, e);
            }
        }
    
        private boolean isExceptPrivateAccessible(Method method) {
            // to avoid warning of JDK-internal access at Java11
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top