Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,436 for exception (0.11 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

        /**
         * Gets the current mojo execution (if any).
         *
         * @return The current mojo execution or {@code null} if not applicable.
         */
        MojoExecution getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return The exception or {@code null} if none.
         */
        Exception getException();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/util/BeanMapTest.java

        public void testGet() throws Exception {
            final BeanMap map = new BeanMap();
            map.put("aaa", 1);
            map.put("bbb", 2);
            assertThat(map.get("aaa"), is((Object) 1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet_NotContains() throws Exception {
            exception.expect(IllegalKeyOfBeanMapException.class);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

         * @throws Exception
         */
        @Test
        public void testGetElementType_Rawtype() throws Exception {
            assertThat(FieldUtil.getElementTypeOfCollection(Baz.class.getField("collectionOfRawtype")), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        public void testGetElementTypeOfCollection() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

      public void testBuildTesterRequirements_class_notAnnotated() throws Exception {
        class Tester {}
    
        TesterRequirements requirements = buildTesterRequirements(Tester.class);
    
        assertThat(requirements.getPresentFeatures()).isEmpty();
        assertThat(requirements.getAbsentFeatures()).isEmpty();
      }
    
      public void testBuildTesterRequirements_class_empty() throws Exception {
        @Require
        class Tester {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testIsToOs() throws Exception {
            final int result = copy(is, os);
            assertThat(result, is(srcBytes.length));
            assertThat(os.toByteArray(), is(srcBytes));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReaderToWriter() throws Exception {
            final int result = copy(reader, writer);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

    /**
     * Classes and futures used in {@link FuturesGetCheckedTest} and {@link FuturesGetUncheckedTest}.
     */
    @GwtCompatible
    final class FuturesGetCheckedInputs {
      static final Exception CHECKED_EXCEPTION = new Exception("mymessage");
      static final Future<String> FAILED_FUTURE_CHECKED_EXCEPTION =
          immediateFailedFuture(CHECKED_EXCEPTION);
      static final RuntimeException UNCHECKED_EXCEPTION = new RuntimeException("mymessage");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 13:46:56 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/LineIteratorTest.java

    import java.io.StringReader;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    public class LineIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final StringReader reader = new StringReader("aaa\nbbb\nccc\n");
            final LineIterator it = new LineIterator(reader);
            assertThat(it.hasNext(), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

    public class SingleThreadAbstractFutureBenchmark {
      @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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

        DependencyResolutionResult getDependencyResolutionResult();
    
        // for each exception
        // - knowing what artifacts are missing
        // - project building exception
        // - invalid project model exception: list of markers
        // - xmlpull parser exception
        List<Throwable> getExceptions();
    
        MavenExecutionResult addException(Throwable e);
    
        boolean hasExceptions();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        verifyThreadWasNotInterrupted();
      }
    
      public void testFailed() throws Exception {
        final Exception e = new Exception();
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                new Callable<Integer>() {
                  @Override
                  public Integer call() throws Exception {
                    throw e;
                  }
                });
        task.run();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top