Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for catch (0.62 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

                        }
                        return response;
                    }
                    catch ( DfsReferral r ) {
                        if ( log.isDebugEnabled() ) {
                            log.debug("Have referral " + r);
                        }
                        throw r;
                    }
                    catch ( SmbException se ) {
                        if ( log.isTraceEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

        try {
          diff1.entriesInCommon().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnLeft().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnRight().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    && match(exclusion.getArtifactId(), candidate.getArtifactId());
        }
    
        private boolean match(String match, String text) {
            return match.equals("*") || match.equals(text);
        }
    
        @SuppressWarnings("checkstyle:parameternumber")
        private Model doLoadDependencyManagement(
                Model model,
                ModelBuilderRequest request,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

                 * If any of the above fail, isExists will not be set true
                 */
    
                this.isExists = true;
    
            }
            catch ( UnknownHostException uhe ) {
                log.debug("Unknown host", uhe);
            }
            catch ( SmbException se ) {
                log.trace("exists:", se);
                switch ( se.getNtStatus() ) {
                case NtStatus.NT_STATUS_NO_SUCH_FILE:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IteratorsTest.java

        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapsTest.java

        try {
          diff1.entriesInCommon().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnLeft().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnRight().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

              },
              executor);
          fail();
        } catch (IllegalStateException expected2) {
        }
        try {
          ClosingFuture.whenAllComplete(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected1) {
        }
        try {
          ClosingFuture.whenAllSucceed(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

              },
              executor);
          fail();
        } catch (IllegalStateException expected2) {
        }
        try {
          ClosingFuture.whenAllComplete(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected1) {
        }
        try {
          ClosingFuture.whenAllSucceed(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetsTest.java

          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          Set<Set<Integer>> unused = powerSet(ContiguousSet.closed(0, Integer.MAX_VALUE / 2));
          fail();
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          powerSet(singleton(null));
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
Back to top