Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 448 for throwing (0.19 sec)

  1. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            // Arrange
            String msg = "downgrade not allowed";
    
            // Act & Assert - verify thrown type and message
            SMBProtocolDowngradeException thrown = assertThrows(SMBProtocolDowngradeException.class, () -> {
                throw new SMBProtocolDowngradeException(msg);
            });
            assertEquals(msg, thrown.getMessage());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/SearchQueryException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when there are issues with search query processing.
     *
     * This exception is typically thrown when query parsing, serialization,
     * or processing fails during search operations. It extends FessSystemException
     * to provide specific handling for search query-related errors.
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

        /**
         * Ensures the exception is thrown and captured via assertThrows with the right message.
         */
        @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)
  4. src/main/java/org/codelibs/fess/exception/FessUserNotFoundException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when a user is not found in the Fess system.
     * This exception is typically thrown during authentication or user lookup operations
     * when the specified user does not exist in the system.
     */
    public class FessUserNotFoundException extends FessSystemException {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception.
        setupCloseable(true);
        doClose(mockCloseable, true);
      }
    
      public void testClose_closeableWithThrownException() throws IOException {
        // make sure that the exception is thrown if 'swallowException' is false
        // when the mock does throw an exception.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/DynamicProperties.java

     * dynamicProperties.setProperty("key", "newValue");
     * dynamicProperties.store();
     * </pre>
     *
     * <p>Exceptions:
     * <ul>
     *   <li>{@link FileAccessException} - Thrown if there are issues accessing the file.</li>
     *   <li>{@link IORuntimeException} - Thrown if there are I/O errors during file operations.</li>
     * </ul>
     *
     * <p>Thread Safety:
     * This class uses synchronization to ensure thread-safe access to the properties.
     *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileFilterTest.java

            when(smbFile.isDirectory()).thenThrow(boom);
    
            // Act + Assert
            SmbException thrown = assertThrows(SmbException.class, () -> filter.accept(smbFile));
            assertEquals("io error", thrown.getMessage());
            verify(smbFile, times(1)).isDirectory();
            verifyNoMoreInteractions(smbFile);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ComputationException.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Wraps an exception that occurred during a computation.
     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ComputationException.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Wraps an exception that occurred during a computation.
     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DosFileFilterTest.java

            // When calling accept
            // Then an SmbException should be thrown
            SmbException thrown = assertThrows(SmbException.class, () -> {
                dosFileFilter.accept(mockFile);
            });
    
            // and the exception should be the one we configured
            assertTrue(thrown == expectedException);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top