Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,812 for rethrow (0.05 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * @throws IllegalArgumentException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      public int drainTo(Collection<? super E> c) {
        if (c == null) throw new NullPointerException();
        if (c == this) throw new IllegalArgumentException();
        E[] items = this.items;
        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          int i = takeIndex;
          int n = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

         * If this method returns <code>null</code> the <code>SmbAuthException</code> that triggered the authenticator check will simply be rethrown. The default implementation returns <code>null</code>.
         * @return the authentication credentials or null if none available
         */
        protected NtlmPasswordAuthentication getNtlmPasswordAuthentication() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

            } catch (SAXNotRecognizedException | SAXNotSupportedException e) {
                throw new SAXRuntimeException(e);
            } catch (final ParserConfigurationException e) {
                throw new ParserConfigurationRuntimeException(e);
            }
            return factory;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

            if (logonShare == null || logonShare.isEmpty()) {
                throw new SmbException("Logon share is not defined");
            }
            try (SmbTreeImpl t = getSmbTree(logonShare, null)) {
                t.treeConnect(null, null);
            } catch (CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        boolean isSignatureSetupRequired() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

      }
    
      @Benchmark
      void oldRepeat(long reps) {
        for (int i = 0; i < reps; i++) {
          String x = oldRepeat(originalString, count);
          if (x.length() != (originalString.length() * count)) {
            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

         */
        protected ResponseData doGet(final String url) {
            throw new CrawlerSystemException("GET method is not supported.");
        }
    
        /**
         * Performs a HEAD request.
         * @param url The URL to request.
         * @return The ResponseData.
         */
        protected ResponseData doHead(final String url) {
            throw new CrawlerSystemException("HEAD method is not supported.");
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/ASN1Util.java

            //
            if (tagNo == 0x1f) {
                int b = s.read();
                if (b < 31) {
                    if (b < 0) {
                        throw new EOFException("EOF found inside tag value.");
                    }
                    throw new IOException("corrupted stream - high tag number < 31 found");
                }
    
                tagNo = b & 0x7f;
    
                // X.690-0207 8.1.2.4.2
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
                    throw new IOException("Test exception");
                }
            };
    
            try {
                SearchEngineUtil.getXContentString(xContent, XContentType.JSON);
                fail("Should throw IORuntimeException");
            } catch (IORuntimeException e) {
                assertTrue(e.getCause() instanceof IOException);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

                public ASN1Primitive toASN1Primitive() {
                    // Return a primitive that will throw IOException when getEncoded is called
                    return new DEROctetString(new byte[0]) {
                        @Override
                        public byte[] getEncoded() throws IOException {
                            throw new IOException("encode failure");
                        }
                    };
                }
            };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

        }
      }
    
      @Throws(IOException::class)
      fun flush() {
        withLock {
          if (closed) throw IOException("closed")
          sink.flush()
        }
      }
    
      @Throws(IOException::class)
      fun rstStream(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        withLock {
          if (closed) throw IOException("closed")
          require(errorCode.httpCode != -1)
    
          frameHeader(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top