Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,205 for exceptions (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     *   <li>throwing an exception of some kind
     *   <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations
     *       have, of returning a new, independent iterator
     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        /**
         * This is really just for {@link jcifs.smb1.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         *
         * @param host the hostname to resolve
         * @return the resolved NbtAddress or null if not found
         */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        }
    
        /**
         * Test exception handling during cleanup
         */
        @Test
        @Timeout(5)
        public void testExceptionHandling() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Configure transport to throw exception on release
            Mockito.doThrow(new RuntimeException("Test exception")).when(mockTransport).release();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial002.py hl[14] *}
    
    ## Установка пользовательских обработчиков исключений
    
    Вы можете добавить пользовательские обработчики исключений с помощью <a href="https://www.starlette.io/exceptions/" class="external-link" target="_blank">то же самое исключение - утилиты от Starlette</a>.
    
    Допустим, у вас есть пользовательское исключение `UnicornException`, которое вы (или используемая вами библиотека) можете `вызвать`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            boolean log = !(service instanceof NoOpService);
            /*
             * We have already exposed startup exceptions to the user in the form of suppressed
             * exceptions. We don't need to log those exceptions again.
             */
            log &= from != State.STARTING;
            if (log) {
              logger
                  .get()
                  .log(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  6. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        }
    
        @Test
        @DisplayName("Delegation should handle exceptions from delegate")
        void testExceptionHandling() {
            // Given
            RuntimeException testException = new RuntimeException("Test exception");
            when(mockDelegate.getResponseTimeout()).thenThrow(testException);
    
            // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

       *     down the executor after the last event has been posted to this event bus.
       * @param subscriberExceptionHandler Handler used to handle exceptions thrown from subscribers.
       *     See {@link SubscriberExceptionHandler} for more information.
       * @since 16.0
       */
      public AsyncEventBus(Executor executor, SubscriberExceptionHandler subscriberExceptionHandler) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial002.py hl[14] *}
    
    ## Instalando manipuladores de exceções customizados
    
    Você pode adicionar manipuladores de exceção customizados com <a href="https://www.starlette.io/exceptions/" class="external-link" target="_blank">a mesma seção de utilidade de exceções presentes no Starlette</a>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            final Exception cause = new RuntimeException("Test cause");
    
            // Execute
            final SsoMessageException exception = new SsoMessageException(messageCode, null, cause);
    
            // Verify
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertEquals(messageCode, exception.getMessageCode());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. docs/sts/client_grants/__init__.py

    # -*- coding: utf-8 -*-
    import json
    # standard.
    import os
    
    import certifi
    # Dependencies
    import urllib3
    from botocore.credentials import CredentialProvider, RefreshableCredentials
    from botocore.exceptions import CredentialRetrievalError
    from dateutil.parser import parse
    
    from .sts_element import STSElement
    
    
    class ClientGrantsCredentialProvider(CredentialProvider):
        """
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 4.6K bytes
    - Viewed (0)
Back to top