Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,187 for try (0.16 sec)

  1. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

        public int getSendBufferSize () throws SmbException {
            try ( SmbSessionImpl session = this.treeConnection.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                return transport.getNegotiateResponse().getSendBufferSize();
            }
        }
    
    
        @Override
        public int getReceiveBufferSize () throws SmbException {
            try ( SmbSessionImpl session = this.treeConnection.getSession();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        try {
          collection.removeAll(null);
          // Returning successfully is not ideal, but tolerated.
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemoveAll_nullCollectionReferenceNonEmptySubject() {
        try {
          collection.removeAll(null);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

        try {
          putAll(MinimalCollection.of(e3(), e0()));
          fail("putAll(somePresent) should throw");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutAll_unsupportedAllPresent() {
        try {
          putAll(MinimalCollection.of(e0()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

        }
    
        try {
          Helpers.assertContentsInOrder(list, "a", "b", "c", "d");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          Helpers.assertContentsInOrder(list, "a", "c", "b");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          Helpers.assertContentsInOrder(list, "a", "B", "c");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        try {
          put(e3());
          fail("put(notPresent, value) should throw");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
        expectMissing(e3());
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_unsupportedPresentExistingValue() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

        }
    
        // DELETE /api/admin/badword/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            try {
                badWordService.getBadWord(id).ifPresent(entity -> {
                    try {
                        badWordService.delete(entity);
                        suggestHelper.deleteBadWord(entity.getSuggestWord());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

      @Override
      public void testContainsKey() {
        try {
          super.testContainsKey();
        } catch (ClassCastException tolerated) {
        }
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
      @Override
      public void testEntrySetContainsEntryIncompatibleKey() {
        try {
          super.testEntrySetContainsEntryIncompatibleKey();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

        expectMissing(e0());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testRemovePresentConcurrentWithEntrySetIteration() {
        try {
          Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
          getMap().remove(k0());
          iterator.next();
          fail("Expected ConcurrentModificationException");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/sql/StatementUtil.java

         */
        public static boolean execute(final Statement statement, final String sql) {
            assertArgumentNotNull("statement", statement);
            assertArgumentNotEmpty("sql", sql);
    
            try {
                return statement.execute(sql);
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * フェッチサイズを設定します。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      public void testPutIfAbsent_unsupportedPresentDifferentValue() {
        try {
          getMap().putIfAbsent(k0(), v3());
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_KEYS)
      public void testPutIfAbsent_nullKeyUnsupported() {
        try {
          getMap().putIfAbsent(null, v3());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top