Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 3,192 for throwIt (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

        try {
          val response = chain.proceed(originalRequest)
          if (isCanceled()) {
            response.closeQuietly()
            throw IOException("Canceled")
          }
          return response
        } catch (e: IOException) {
          calledNoMoreExchanges = true
          throw noMoreExchanges(e) as Throwable
        } finally {
          if (!calledNoMoreExchanges) {
            noMoreExchanges(null)
          }
        }
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
            assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA));
            System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' }));
        }
    
        /**
         * @throws Exception
         */
        public void testDecode() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testLtrim() throws Exception {
            assertEquals("1", "trim", StringUtil.ltrim("zzzytrim", "xyz"));
            assertEquals("2", "", StringUtil.ltrim("xyz", "xyz"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRtrim() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/CrawlJob.java

                    out.append("Exit Code: ").append(exitValue).append("\nOutput:\n").append(it.getOutput());
                    throw new JobProcessingException(out.toString());
                }
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("Crawler Process terminated.", e);
            } finally {
                try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java

        @Test
        public void test_constructor() throws Exception {
            SuggestWriterResult result = new SuggestWriterResult();
    
            assertNotNull(result);
            assertFalse(result.hasFailure());
            assertNotNull(result.getFailures());
            assertEquals(0, result.getFailures().size());
        }
    
        @Test
        public void test_addFailure() throws Exception {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

        @Nonnull
        default T read(@Nonnull Path path) throws XmlReaderException {
            return read(path, true);
        }
    
        @Nonnull
        default T read(@Nonnull Path path, boolean strict) throws XmlReaderException {
            return read(XmlReaderRequest.builder().path(path).strict(strict).build());
        }
    
        @Nonnull
        default T read(@Nonnull InputStream input) throws XmlReaderException {
            return read(input, true);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetActualKeyClassOfMap() throws Exception {
            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Hoge.class);
            final Method method = Hoge.class.getMethod("map");
            assertThat(GenericsUtil.getActualKeyClassOfMap(method.getGenericReturnType(), map), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         * @param auth
         *            The NTLM password authenticator containing user credentials
         * @throws SmbException
         *             If there is an error setting up the signing digest
         */
        public SMB1SigningDigest(final SmbTransportInternal transport, final NtlmPasswordAuthenticator auth) throws SmbException {
            this.digest = Crypto.getMD5();
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/UniAddressTest.java

                when(mockInetAddress.getHostName()).thenReturn("myhost.domain.com");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                assertEquals("MYHOST", uniAddress.firstCalledName());
            }
    
            @Test
            void shouldReturnSmbServerNameWhenInetAddressHostnameLengthGreaterThan15() throws UnknownHostException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SIDTest.java

         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testToDisplayStringUnresolved() throws SmbException {
            SID sid = new SID(adminSidString);
            assertEquals(adminSidString, sid.toDisplayString());
        }
    
        /**
         * Test getting the domain SID.
         *
         * @throws SmbException if the SID string is invalid
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top