Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 2,742 for throws (0.09 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

      private static void rethrow(ExecutionException e) throws ExecutionException {
        Throwable wrapper = e.getCause();
        if (wrapper instanceof WrapperException) {
          Throwable cause = wrapper.getCause();
          if (cause instanceof RuntimeException) {
            throw (RuntimeException) cause;
          } else if (cause instanceof Error) {
            throw (Error) cause;
          }
        }
        throw e;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 12 20:02:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

                return resultSet.next();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * カーソルを指定した位置まで進めます。
         *
         * @param resultSet
         *            結果セット。{@literal null}であってはいけません
         * @param index
         *            位置
         * @return 指定した位置まで進めたかどうか
         * @throws SQLRuntimeException
         *             SQL例外が起こった場合。
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

      @Param Impl impl;
    
      private final Exception exception = new Exception();
      private Facade<?> notDoneFuture;
    
      @BeforeExperiment
      void setUp() throws Exception {
        notDoneFuture = impl.newFacade();
      }
    
      @Benchmark
      public long timeComplete_Normal(int reps) throws Exception {
        long r = 0;
        List<Facade<Integer>> list = new ArrayList<>(reps);
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

    import org.codelibs.core.beans.ParameterizedClassDesc;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class ParameterizedClassDescFactoryTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFieldType() throws Exception {
            final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class);
            final Field field = Hoge.class.getField("foo");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/MavenProjectBuilder.java

        MavenProject buildStandaloneSuperProject(ProjectBuilderConfiguration configuration) throws ProjectBuildingException;
    
        MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository) throws ProjectBuildingException;
    
        MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
                throws ProjectBuildingException;
    
        MavenProject buildWithDependencies(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

        @Override
        public ClassificationMeta provide(final String classificationName) throws ProvidedClassificationNotFoundException {
            final ClassificationMeta onMainSchema = findOnMainSchema(classificationName);
            if (onMainSchema == null) {
                final String msg = "Not found the classification: " + classificationName;
                throw new ProvidedClassificationNotFoundException(msg);
            }
            return onMainSchema;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       * #previous()} can retrieve the preceding {@code position} elements.
       *
       * @throws IndexOutOfBoundsException if {@code position} is negative or is greater than {@code
       *     size}
       * @throws IllegalArgumentException if {@code size} is negative
       */
      protected AbstractIndexedListIterator(int size, int position) {
        checkPositionIndex(position, size);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

        }
    
        @Test
        void testNullSafe() throws Exception {
            Profile p = Profile.newInstance();
    
            assertActivation(false, p, newContext(null, null));
    
            p = p.withActivation(Activation.newInstance());
    
            assertActivation(false, p, newContext(null, null));
        }
    
        @Test
        void testWithNameOnly_UserProperty() throws Exception {
            Profile profile = newProfile("prop", null);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

        }
    
        private Document getDocument(final String data) throws Exception {
            final DOMParser parser = new DOMParser();
            final ByteArrayInputStream is = new ByteArrayInputStream(data.getBytes("UTF-8"));
            parser.parse(new InputSource(is));
            return parser.getDocument();
        }
    
        private String getXmlString(final Node node) throws Exception {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrShort.java

        public int value;
    
        public NdrShort(int value) {
            this.value = value & 0xFF;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
            dst.enc_ndr_short(value);
        }
        public void decode(NdrBuffer src) throws NdrException {
            value = src.dec_ndr_short();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.3K bytes
    - Viewed (0)
Back to top