Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,652 for throw (0.04 sec)

  1. src/main/java/jcifs/netbios/UniAddress.java

        }
    
        /**
         * Perform DNS SRV lookup on successively shorter suffixes of name
         * and return successful suffix or throw an UnknownHostException.
         * import javax.naming.*;
         * import javax.naming.directory.*;
         * public static String getDomainByName(String name) throws UnknownHostException {
         * DirContext context;
         * UnknownHostException uhe = null;
         * 
         * try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                            Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING);
                        }
                    }
                }
            } catch (final IOException e) {
                throw new ThemeException("Failed to install " + artifact, e);
            }
        }
    
        public void uninstall(final Artifact artifact) {
            final String themeName = getThemeName(artifact);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      /**
       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
       * is, the first call to {@link #next()} will return the first element (or throw {@link
       * NoSuchElementException} if {@code size} is zero).
       *
       * @throws IllegalArgumentException if {@code size} is negative
       */
      protected AbstractIndexedListIterator(int size) {
        this(size, 0);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

            } catch (XMLStreamException e) {
                throw new ToolchainsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        @Override
        public PersistedToolchains read(Reader input, Map<String, ?> options) throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

        }
    
    
        protected abstract FileEntry open () throws CIFSException;
    
    
        protected abstract boolean isDone ();
    
    
        protected abstract boolean fetchMore () throws CIFSException;
    
    
        protected abstract FileEntry[] getResults ();
    
    
        /**
         * 
         */
        protected synchronized void doClose () throws CIFSException {
            // otherwise already closed
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        public E next() {
          // ...but throw an unchecked exception when you ask for it.
          if (!iterator.hasNext()) {
            throw new ThrowsAtEndException();
          }
          return iterator.next();
        }
    
        @Override
        public void remove() {
          iterator.remove();
        }
      }
    
      public void testPeekingIteratorDoesntAdvancePrematurely() throws Exception {
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/net/URLUtil.java

            try {
                final URLConnection connection = url.openConnection();
                connection.setUseCaches(false);
                return connection.getInputStream();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * URLが参照するリモートオブジェクトへの接続を表す{@link URLConnection}オブジェクトを返します。
         *
         * @param url
         *            URL。{@literal null}であってはいけません
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          }
        }
        return suite;
      }
    
      /** Throw {@link IllegalStateException} if {@link #createTestSuite()} can't be called yet. */
      protected void checkCanCreate() {
        if (subjectGenerator == null) {
          throw new IllegalStateException("Call using() before createTestSuite().");
        }
        if (name == null) {
          throw new IllegalStateException("Call named() before createTestSuite().");
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableList.java

       * Guaranteed to throw an exception and leave the list unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final E set(int index, E element) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/Types.java

              return (String) getTypeName.invoke(type);
            } catch (NoSuchMethodException e) {
              throw new AssertionError("Type.getTypeName should be available in Java 8");
            } catch (InvocationTargetException | IllegalAccessException e) {
              throw new RuntimeException(e);
            }
          }
        },
        JAVA9 {
          @Override
          Type newArrayType(Type componentType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top