Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 405 for excepciones (0.26 seconds)

  1. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            // Instead of directly calling expired() which may fail due to system dependencies
            // in test environments, we test that the method exists and can be invoked
            // without throwing unexpected exceptions
            try {
                // Create a new instance to ensure clean state
                SystemMonitorTarget testTarget = new SystemMonitorTarget();
    
                // Try to call the expired method
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    通常使用している依存関係の*関数*と同じものを使用できます。
    
    ### 依存関係の要件 { #dependency-requirements }
    
    これらはリクエストの要件(ヘッダーのようなもの)やその他のサブ依存関係を宣言できます:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[8,13] *}
    
    ### 例外の発生 { #raise-exceptions }
    
    これらの依存関係は、通常の依存関係と同じように例外を`raise`できます:
    
    {* ../../docs_src/dependencies/tutorial006_an_py310.py hl[10,15] *}
    
    ### 戻り値 { #return-values }
    
    そして、値を返すことも返さないこともできますが、値は使われません。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  3. tests/test_jsonable_encoder.py

    from pathlib import PurePath, PurePosixPath, PureWindowsPath
    from typing import TypedDict
    
    import pytest
    from fastapi._compat import Undefined
    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import PydanticV1NotSupportedError
    from pydantic import BaseModel, Field, ValidationError
    
    
    class Person:
        def __init__(self, name: str):
            self.name = name
    
    
    class Pet:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertTrue(result.contains("ScriptEngineException"));
            assertTrue(result.contains(message));
        }
    
        @Test
        public void test_withComplexCauseChain() {
            // Test with a chain of exceptions
            Exception rootCause = new NullPointerException("Root cause");
            Exception intermediateCause = new IllegalStateException("Intermediate cause", rootCause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
     */
    
    package jcifs;
    
    import java.util.HashMap;
    import java.util.Map;
    
    /**
     * Base exception class for all SMB-related exceptions
     *
     * This class provides a consistent exception handling mechanism
     * with proper error context and recovery information.
     */
    public class SmbException extends CIFSException {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbSessionInternalTest.java

    import jcifs.CIFSException;
    import jcifs.SmbTransport;
    import jcifs.SmbTree;
    
    /**
     * Tests for SmbSessionInternal interface using Mockito to exercise
     * method contracts, checked exceptions, and interactions with collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbSessionInternalTest {
    
        @Mock
        private SmbSessionInternal session;
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                    assertTrue(true, "Sign operation after close should either throw exception or handle gracefully");
                } catch (RuntimeException e) {
                    // Accept runtime exceptions that might be thrown due to closed state
                    assertTrue(e.getMessage() != null, "Exception should have a message: " + e.getClass().getSimpleName());
                }
    
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            shutdownMethod.setAccessible(true);
    
            // Invoke the method
            shutdownMethod.invoke(curtainFinallyHook);
    
            // Method should complete without throwing exceptions to the caller
            assertTrue(true);
        }
    
        // Test behavior when an exception occurs during reflection
        @Test
        public void test_shutdownCommonsHttpClient_withException() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                assertTrue(e.getCause() instanceof IllegalStateException);
                assertEquals("Cause", e.getCause().getMessage());
            }
        }
    
        @Test
        @DisplayName("Should handle suppressed exceptions")
        void testSuppressedExceptions() {
            // Given
            RuntimeCIFSException mainException = new RuntimeCIFSException("Main error");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  10. 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(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
Back to Top