Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 2,652 for throwIf (0.07 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(DefaultEncryptInvoker.LocalContext context) throws Exception {
            context.addInHeader(context.style.italic().bold().foreground(Colors.rgbColor("yellow")), "goal: init");
            context.addInHeader("");
    
            ConsolePrompt prompt = context.prompt;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                parser.parse(in, handler);
            } catch (final Exception e) {
                throw new SitemapsException("Could not parse XML Sitemaps.", e);
            }
            return handler.getSitemapSet();
        }
    
        protected void disableExternalResources(final SAXParser parser) throws SAXNotRecognizedException, SAXNotSupportedException {
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        if (lmHash.length == 0 && ntHash.length == 0) {
                            throw new RuntimeException("Null setup prohibited.");
                        }
                    } else if( DISABLE_PLAIN_TEXT_PASSWORDS ) {
                        throw new RuntimeException( "Plain text passwords are disabled" );
                    } else if( useUnicode ) {
                        // plain text
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/Handler.java

        protected URLConnection openConnection(URL url) throws IOException {
            url = new URL(url, url.toExternalForm(),
                    getDefaultStreamHandler(url.getProtocol()));
            return new NtlmHttpURLConnection((HttpURLConnection)
                    url.openConnection());
        }
    
        private static URLStreamHandler getDefaultStreamHandler(String protocol)
                throws IOException {
            synchronized (PROTOCOL_HANDLERS) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt

      override fun writeTo(sink: BufferedSink) {
        requestBodySinks.add(sink)
      }
    
      override fun isDuplex(): Boolean = true
    
      @Throws(InterruptedException::class)
      fun takeSink(): BufferedSink {
        return requestBodySinks.poll(5, SECONDS) ?: throw AssertionError("no sink to take")
      }
    
      fun assertNoMoreSinks() {
        assertTrue(requestBodySinks.isEmpty())
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ReleaseArtifactTransformation.java

                throws ArtifactResolutionException, ArtifactNotFoundException {
            if (Artifact.RELEASE_VERSION.equals(artifact.getVersion())) {
                try {
                    String version = resolveVersion(artifact, request);
    
                    if (Artifact.RELEASE_VERSION.equals(version)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * 指定されたバイナリ名を持つクラスをロードします。
         *
         * @param loader
         *            クラスローダ。{@literal null}であってはいけません
         * @param className
         *            クラスのバイナリ名。{@literal null}や空文字列であってはいけません
         * @return 結果の<code>Class</code>オブジェクト
         * @throws ClassNotFoundRuntimeException
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/AbstractLoadingCache.java

      @Override
      public V getUnchecked(K key) {
        try {
          return get(key);
        } catch (ExecutionException e) {
          throw new UncheckedExecutionException(e.getCause());
        }
      }
    
      @Override
      public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
        Map<K, V> result = Maps.newLinkedHashMap();
        for (K key : keys) {
          if (!result.containsKey(key)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

       *
       * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator
       * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
       * to remove() will incorrectly throw an IllegalStateException, instead of removing the last
       * element returned.
       *
       * <p>See <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6529795">Sun bug 6529795</a>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesTest.java

        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top