Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1731 - 1740 of 3,282 for throwIt (0.12 seconds)

  1. src/main/java/jcifs/smb1/smb1/TestLocking.java

        }
    
        /**
         * Main method to run the locking test.
         *
         * @param args command line arguments: [-t numThreads] [-i numIter] [-d delay] url
         * @throws Exception if an error occurs during test execution
         */
        public static void main(final String[] args) throws Exception {
            if (args.length < 1) {
                logger.error("usage: TestLocking [-t <numThreads>] [-i <numIter>] [-d <delay>] url");
                System.exit(1);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

        public void formatProgress(StringBuilder builder, long progressedSize, long size) {
            if (progressedSize < 0L) {
                throw new IllegalArgumentException("progressed file size cannot be negative: " + size);
            }
            if (size >= 0 && progressedSize > size) {
                throw new IllegalArgumentException(
                        "progressed file size cannot be greater than size: " + progressedSize + " > " + size);
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/WebApiManager.java

         * @param response The HTTP servlet response.
         * @param chain The filter chain.
         * @throws IOException If an input/output error occurs.
         * @throws ServletException If a servlet error occurs.
         */
        void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException;
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

    class UppercaseRequestInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Chain): Response = chain.proceed(uppercaseRequest(chain.request()))
    
      /** Returns a request that transforms `request` to be all uppercase.  */
      private fun uppercaseRequest(request: Request): Request {
        val uppercaseBody: RequestBody =
          object : ForwardingRequestBody(request.body) {
            @Throws(IOException::class)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryFactory.java

        String LOCAL_REPOSITORY_ID = "local";
    
        @Deprecated
        ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException;
    
        @Deprecated
        ArtifactRepository createDeploymentArtifactRepository(String id, String url, String layoutId, boolean uniqueVersion)
                throws UnknownRepositoryLayoutException;
    
        ArtifactRepository createDeploymentArtifactRepository(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/AddressTest.java

            }, "All Address interface methods should be callable");
        }
    
        @Test
        @DisplayName("unwrap method should return correct type when supported")
        void testUnwrapMethodContract() throws Exception {
            // Given
            when(mockAddress.unwrap(Address.class)).thenReturn(mockAddress);
    
            // When & Then
            Address unwrapped = mockAddress.unwrap(Address.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

      public void testAddAndRemove_concurrentHashMap() throws Exception {
        testAddAndRemove(new ConcurrentHashMap<>());
      }
    
      public void testAddAndRemove_concurrentSkipListMap() throws Exception {
        testAddAndRemove(new ConcurrentSkipListMap<>());
      }
    
      public void testAddAndRemove_mapMakerMap() throws Exception {
        MapMaker mapMaker = new MapMaker();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 22:42:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @since 16.0
     */
    public interface SubscriberExceptionHandler {
      /** Handles exceptions thrown by subscribers. */
      void handleException(Throwable exception, SubscriberExceptionContext context);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 894 bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

      @J2ktIncompatible
        private static void reserializeAndAssert(Object object) throws Exception {
        Object copy = reserialize(object);
        assertEquals(object, copy);
        assertEquals(object.getClass(), copy.getClass());
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private static Object reserialize(Object object) throws Exception {
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/CopyUtil.java

     * </p>
     * <p>
     * Any {@link IOException} thrown by these methods is wrapped and thrown as an {@link IORuntimeException}.
     * </p>
     *
     * @author koichik
     */
    public abstract class CopyUtil {
    
        /**
         * Do not instantiate.
         */
        protected CopyUtil() {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 45.2K bytes
    - Click Count (0)
Back to Top