Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 1,922 for try (0.01 sec)

  1. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        Supplier<Integer> memoizedSupplier = Suppliers.memoize(throwingSupplier);
        // call get() twice to make sure that memoization doesn't interfere
        // with throwing the exception
        for (int i = 0; i < 2; i++) {
          try {
            memoizedSupplier.get();
            fail("failed to throw NullPointerException");
          } catch (NullPointerException e) {
            // this is what should happen
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SuppliersTest.java

        Supplier<Integer> memoizedSupplier = Suppliers.memoize(throwingSupplier);
        // call get() twice to make sure that memoization doesn't interfere
        // with throwing the exception
        for (int i = 0; i < 2; i++) {
          try {
            memoizedSupplier.get();
            fail("failed to throw NullPointerException");
          } catch (NullPointerException e) {
            // this is what should happen
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/generate-clients.md

    For example, you might want to try:
    
    * <a href="https://speakeasy.com/?utm_source=fastapi+repo&utm_medium=github+sponsorship" class="external-link" target="_blank">Speakeasy</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

            assertOrder(X_EQ_Y, "1.unknown", "1.Unknown");
        }
    
        @Test
        void testCaseInsensitiveOrderingOfQualifiersIsLocaleIndependent() {
            Locale orig = Locale.getDefault();
            try {
                Locale[] locales = {Locale.ENGLISH, new Locale("tr")};
                for (Locale locale : locales) {
                    Locale.setDefault(locale);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

            validate(form, messages -> {}, () -> uploadpage(form.dictId));
            verifyToken(() -> uploadpage(form.dictId));
            return protwordsService.getProtwordsFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.protwordsFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
    
                final String url = urlQueue.getUrl();
                ResponseData responseData = null;
                try {
                    final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(crawlerContext.getSessionId());
                    final Map<String, Object> dataMap = new HashMap<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        }
        throw new NoSuchMethodError(methodName);
      }
    
      @Override
      public void run() {
        assertSame(this, Thread.currentThread());
        try {
          while (true) {
            Request request = requestQueue.take();
            Object result;
            try {
              result = invokeMethod(request.methodName, request.arguments);
            } catch (ThreadDeath death) {
              return;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Cut.java

      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof Cut) {
          // It might not really be a Cut<C>, but we'll catch a CCE if it's not
          Cut<C> that = (Cut<C>) obj;
          try {
            int compareResult = compareTo(that);
            return compareResult == 0;
          } catch (ClassCastException wastNotComparableToOurType) {
            return false;
          }
        }
        return false;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * Bind the handle
         * 
         * @throws DcerpcException
         * @throws IOException
         */
        public void bind () throws DcerpcException, IOException {
            synchronized ( this ) {
                try {
                    this.state = 1;
                    DcerpcMessage bind = new DcerpcBind(this.binding, this);
                    sendrecv(bind);
                }
                catch ( IOException ioe ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

        }
    
        protected List<CoreExtension> readCoreExtensionsDescriptorFromFile(Path extensionsFile)
                throws ParserException, IOException {
            try {
                if (extensionsFile != null && Files.exists(extensionsFile)) {
                    try (InputStream is = Files.newInputStream(extensionsFile)) {
                        return new CoreExtensionsStaxReader().read(is, true).getExtensions();
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top