Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for throwing (0.06 sec)

  1. android/guava/src/com/google/common/base/Internal.java

    @J2ktIncompatible
    @GwtIncompatible // java.time.Duration
    @ElementTypesAreNonnullByDefault
    final class Internal {
    
      /**
       * Returns the number of nanoseconds of the given duration without throwing or overflowing.
       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 11 14:30:06 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java

     * under the License.
     */
    package org.apache.maven.plugin;
    
    /**
     * An exception occurring during the execution of a plugin (such as a compilation failure).<br>
     * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
     *
     */
    public class MojoFailureException extends AbstractMojoExecutionException {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

         * the <code>Mojo</code> to communicate errors.
         *
         * @throws MojoExecutionException if an unexpected problem occurs.
         * Throwing this exception causes a "BUILD ERROR" message to be displayed.
         * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs.
         * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
     *   <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations
     *       have, of returning a new, independent iterator
     * </ul>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    /**
     * An exception occurring during the execution of a plugin.<br>
     * Throwing this exception causes a "BUILD ERROR" message to be displayed.
     *
     */
    public class MojoExecutionException extends AbstractMojoExecutionException {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      private final List<E> expectedElements;
      private final int startIndex;
      private final KnownOrder knownOrder;
    
      /**
       * Meta-exception thrown by {@link AbstractIteratorTester.MultiExceptionListIterator} instead of
       * throwing any particular exception type.
       */
      private abstract static class PermittedMetaException extends RuntimeException {
        static final PermittedMetaException UOE_OR_ISE =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        multimap.put("foo", 3);
        assertTrue(multimap.replaceValues("foo", asList(2, 4)) instanceof RandomAccess);
        assertTrue(multimap.replaceValues("bar", asList(2, 4)) instanceof RandomAccess);
      }
    
      /** Test throwing ConcurrentModificationException when a sublist's ancestor's delegate changes. */
      public void testSublistConcurrentModificationException() {
        ListMultimap<String, Integer> multimap = create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        multimap.put("foo", 3);
        assertTrue(multimap.replaceValues("foo", asList(2, 4)) instanceof RandomAccess);
        assertTrue(multimap.replaceValues("bar", asList(2, 4)) instanceof RandomAccess);
      }
    
      /** Test throwing ConcurrentModificationException when a sublist's ancestor's delegate changes. */
      public void testSublistConcurrentModificationException() {
        ListMultimap<String, Integer> multimap = create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      private final List<E> expectedElements;
      private final int startIndex;
      private final KnownOrder knownOrder;
    
      /**
       * Meta-exception thrown by {@link AbstractIteratorTester.MultiExceptionListIterator} instead of
       * throwing any particular exception type.
       */
      private abstract static class PermittedMetaException extends RuntimeException {
        static final PermittedMetaException UOE_OR_ISE =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * be included, and it's much easier to implement the interpretation that they not be. Finally, a
       * call to {@code shutdown} or {@code shutdownNow} may result in concurrent calls to {@code
       * invokeAll/invokeAny} throwing RejectedExecutionException, although a subset of the tasks may
       * already have been executed.
       *
       * @since 32.0.0 (taking the place of a method with a different return type from 15.0)
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top