Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SmbEndOfFileException (0.08 sec)

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

     * attempting to read beyond the end of a file.
     *
     * @author mbechler
     */
    public class SmbEndOfFileException extends SmbException {
    
        /**
         *
         */
        private static final long serialVersionUID = 298752101881244000L;
    
        /**
         * Constructs an end-of-file exception.
         */
        public SmbEndOfFileException() {
            super("Unexpectedly reached end of file");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

         */
        @Test
        void assertThrowsCapturesExceptionAndMessage() {
            // Act & Assert
            SmbEndOfFileException thrown = assertThrows(SmbEndOfFileException.class, () -> {
                throw new SmbEndOfFileException();
            });
            assertEquals("Unexpectedly reached end of file", thrown.getMessage());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top