Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for closeException (0.06 seconds)

  1. android/guava/src/com/google/common/io/FileBackedOutputStream.java

              out = transfer;
            } catch (IOException e) {
              if (transfer != null) {
                try {
                  transfer.close();
                } catch (IOException closeException) {
                  e.addSuppressed(closeException);
                }
              }
              temp.delete();
              throw e;
            }
    
            file = temp;
            memory = null;
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            TestIterator iterator = new TestIterator(null);
            iterator.close();
    
            verify(delegate).close();
        }
    
        @Test
        @DisplayName("Close propagates exception")
        void closeException() throws CIFSException {
            when(delegate.hasNext()).thenReturn(false);
            doThrow(new CIFSException("Close failed")).when(delegate).close();
    
            TestIterator iterator = new TestIterator(null);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
Back to Top