Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,444 for scratch (0.08 sec)

  1. guava-tests/test/com/google/common/math/DoubleMathTest.java

                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode));
              assertTrue(isInBounds);
            } catch (ArithmeticException e) {
              assertFalse(isInBounds);
            }
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode)
      public void testRoundFractionalDoubleToInt() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NetworkExplorer.java

                    if ( dirents[ i ].getType() == SmbConstants.TYPE_NAMED_PIPE ) {
                        continue;
                    }
                }
                catch ( SmbAuthException sae ) {
                    log.warn("Auth failed", sae);
                }
                catch ( SmbException se ) {
                    log.warn("Connection failed", se);
                    if ( se.getNtStatus() != NtStatus.NT_STATUS_UNSUCCESSFUL ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ```
    
    ////
    
    An alternative you could use to catch exceptions (and possibly also raise another `HTTPException`) is to create a [Custom Exception Handler](../handling-errors.md#install-custom-exception-handlers){.internal-link target=_blank}.
    
    ## Dependencies with `yield` and `except`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                    return loginRedirect;
                }
                getSession().ifPresent(session -> session.setAttribute(INVALID_OLD_PASSWORD, password));
                return asHtml(virtualHost(path_Login_NewpasswordJsp));
            } catch (final LoginFailureException lfe) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Login is failed.", lfe);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/FieldUtil.java

            assertArgumentNotNull("field", field);
    
            try {
                field.set(target, value);
            } catch (final IllegalAccessException e) {
                throw new IllegalAccessRuntimeException(field.getDeclaringClass(), e);
            } catch (final IllegalArgumentException e) {
                final Class<?> clazz = field.getDeclaringClass();
                final Class<?> fieldClass = field.getType();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                            }
                        }
                    } catch (final Exception e) {
                        logger.warn("Failed to read a sugget elevate word: {}", list, e);
                    }
                }
                elevateWordBhv.refresh();
            } catch (final IOException e) {
                logger.warn("Failed to read a sugget elevate word.", e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/QueuesTest.java

        Future<?> possiblyIgnoredError = threadPool.submit(new Interrupter(currentThread()));
        try {
          Queues.drain(q, ImmutableList.of(), 100, MAX_VALUE, NANOSECONDS);
          fail();
        } catch (InterruptedException expected) {
        }
      }
    
      public void testDrainUninterruptibly_doesNotThrow() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            VersionConstraint versionConstraint;
            try {
                versionConstraint =
                        versionScheme.parseVersionConstraint(request.getArtifact().getVersion());
            } catch (InvalidVersionSpecificationException e) {
                result.addException(e);
                throw new VersionRangeResolutionException(result);
            }
    
            result.setVersionConstraint(versionConstraint);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

      }
    
      private void assertSetCountNegativeOldCount() {
        try {
          getMultiset().setCount(e3(), -1, 1);
          fail("calling setCount() with a negative oldCount should throw IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // Negative oldCount.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_negativeOldCount_addSupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

         */
        public static void registerDriver(final Driver driver) {
            assertArgumentNotNull("driver", driver);
    
            try {
                DriverManager.registerDriver(driver);
            } catch (final SQLException e) {
                throw new SQLRuntimeException(e);
            }
        }
    
        /**
         * JDBCドライバを登録解除します。
         *
         * @param driver
         *            登録解除するJDBCドライバ。{@literal null}であってはいけません
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top