Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 2,652 for throwIf (0.06 sec)

  1. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

        this.path = path;
      }
    
      @Override public ServerSocket createServerSocket() throws IOException {
        return new UnixDomainServerSocket();
      }
    
      @Override public ServerSocket createServerSocket(int port) throws IOException {
        return createServerSocket();
      }
    
      @Override public ServerSocket createServerSocket(int port, int backlog) throws IOException {
        return createServerSocket();
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 12 16:33:52 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ReadWriteTest.java

        }
    
    
        @Test
        public void test () throws IOException {
            runReadWriteTest(4096, 4 * 4096);
        }
    
    
        @Test
        public void testExactWrite () throws IOException {
            runReadWriteTest(4096, 4096);
        }
    
    
        @Test
        public void testSmallWrite () throws IOException {
            runReadWriteTest(4096, 1013);
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

          Callable<T> callable, long timeoutDuration, TimeUnit timeoutUnit) throws ExecutionException {
        checkNotNull(callable);
        checkNotNull(timeoutUnit);
        try {
          return callable.call();
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          restoreInterruptIfIsInterruptedException(e);
          throw new ExecutionException(e);
        } catch (Error e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            }
    
            try {
                // last chance - classic model
                return Class.forName(name);
            } catch (final Exception e) {
                throw new TypeNotPresentException(name, e);
            } catch (final LinkageError e) {
                throw new TypeNotPresentException(name, e);
            }
        }
    
        /**
         * Creates an instance of the given implementation using the default constructor.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKuromojiTokenizerFactory.java

                } catch (final Exception e) {
                    throw new IllegalStateException("Failed to update the tokenizer.", e);
                }
            }
    
            @Override
            public void close() throws IOException {
                tokenizer.close();
            }
    
            @Override
            public void reset() throws IOException {
                updateUserDictionary();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                    throw new IOException( ie.getMessage() );
                }
                result = pipe_buf[beg_idx] & 0xFF;
                beg_idx = ( beg_idx + 1 ) % pipe_buf.length;
            }
            return result;
        }
        public int read( byte[] b ) throws IOException {
            return read( b, 0, b.length );
        }
        public int read( byte[] b, int off, int len ) throws IOException {
            int result = -1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     *
     * @throws IOException if a network error occurs
     */
    
        public void close() throws IOException {
            try {
                file.close();
                tmp = null;
            } catch (SmbException se) {
                throw seToIoe(se);
            }
        }
    
    /**
     * Reads a byte of data from this input stream.
     *
     * @throws IOException if a network error occurs
     */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

            }
            trail = null;
        }
    
        /**
         * @return {@link List} &lt; {@link String} &gt; with artifact ids
         * @throws OverConstrainedVersionException if version specification is over constrained
         */
        public List<String> getDependencyTrail() throws OverConstrainedVersionException {
            List<Artifact> trial = getTrail();
    
            List<String> ret = new ArrayList<>(trial.size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

        }
    
        public void executeMojo(MavenProject project, MojoExecution execution, MavenSession session)
                throws MojoExecutionException, ArtifactResolutionException, MojoFailureException, ArtifactNotFoundException,
                        InvalidDependencyVersionException, PluginManagerException, PluginConfigurationException {
            throw new UnsupportedOperationException();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testBulkLoad_extra() throws ExecutionException {
        CacheLoader<Object, Object> loader =
            new CacheLoader<Object, Object>() {
              @Override
              public Object load(Object key) throws Exception {
                return new Object();
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top