Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 460 for throwing (0.05 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            doThrow(expectedException).when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
            DcerpcException thrown = assertThrows(DcerpcException.class, () -> {
                new SamrPolicyHandle(mockHandle, server, access);
            });
    
            assertEquals(expectedException, thrown);
            verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

            UnresolvableModelException e = assertThrows(
                    UnresolvableModelException.class,
                    () -> newModelResolver().resolveModel(parent),
                    "Expected 'UnresolvableModelException' not thrown.");
            assertNotNull(e.getMessage());
            assertTrue(e.getMessage().contains("Could not find artifact ut.simple:artifact:pom:0 in repo"));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 7.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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            // Act & Assert: the exception is propagated and interaction recorded once
            RuntimeException thrown = assertThrows(RuntimeException.class, supplier::get);
            assertInstanceOf(SmbUnsupportedOperationException.class, thrown.getCause());
            assertEquals("boom", thrown.getCause().getMessage());
            verify(supplier, times(1)).get();
            verifyNoMoreInteractions(supplier);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenAlias.class));
    
            // Act & Assert
            SmbException thrown = assertThrows(SmbException.class, () -> {
                new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid);
            });
    
            assertEquals(errorCode, thrown.getNtStatus());
        }
    
        @Test
        void close_shouldCloseAliasSuccessfully() throws IOException {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

         *
         * @param pageNumber Optional page number to display (0-based)
         * @param form The search form containing filter criteria
         * @return HTML response showing the stemmer override list
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. docs/en/docs/external-links.md

    # External Links
    
    **FastAPI** has a great community constantly growing.
    
    There are many posts, articles, tools, and projects, related to **FastAPI**.
    
    You could easily use a search engine or video platform to find many resources related to FastAPI.
    
    /// info
    
    Before, this page used to list links to external articles.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 12:28:40 UTC 2025
    - 917 bytes
    - Viewed (0)
  10. guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @since 16.0
     */
    public interface SubscriberExceptionHandler {
      /** Handles exceptions thrown by subscribers. */
      void handleException(Throwable exception, SubscriberExceptionContext context);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 894 bytes
    - Viewed (0)
Back to top