Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 452 for handling (0.06 sec)

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

            // Act + Assert
            assertThrows(NullPointerException.class, () -> SmbCopyUtil.openCopyTargetFile(dest, SmbConstants.ATTR_NORMAL, false));
        }
    
        // --- Tests for copyFile exception handling branch ---
    
        @Nested
        class CopyFileExceptions {
    
            private SmbTreeHandleImpl newTreeHandle(boolean isSmb2) throws Exception {
                SmbTreeHandleImpl th = mock(SmbTreeHandleImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/jar/JarFileUtil.java

    import org.codelibs.core.io.FileUtil;
    import org.codelibs.core.log.Logger;
    import org.codelibs.core.net.JarURLConnectionUtil;
    import org.codelibs.core.net.URLUtil;
    
    /**
     * Utility class for handling {@link java.util.jar.JarFile}.
     *
     * @author higa
     */
    public abstract class JarFileUtil {
    
        /**
         * Do not instantiate.
         */
        protected JarFileUtil() {
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. docs/es/docs/how-to/custom-request-and-route.md

    /// tip | Consejo
    
    Para resolver este mismo problema, probablemente sea mucho más fácil usar el `body` en un manejador personalizado para `RequestValidationError` ([Manejo de Errores](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}).
    
    Pero este ejemplo sigue siendo válido y muestra cómo interactuar con los componentes internos.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

     * support for common types like String.</p>
     *
     * <p>This class is commonly used to pass configuration parameters to data store
     * implementations during crawling operations, allowing for flexible parameter
     * handling without tight coupling to specific parameter schemas.</p>
     */
    public class DataStoreParams {
    
        /**
         * Internal map storing parameter key-value pairs.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

    class WebSocketRecorder(
      private val name: String,
    ) : WebSocketListener() {
      private val events = LinkedBlockingQueue<Any>()
      private var delegate: WebSocketListener? = null
    
      /** Sets a delegate for handling the next callback to this listener. Cleared after invoked.  */
      fun setNextEventDelegate(delegate: WebSocketListener?) {
        this.delegate = delegate
      }
    
      override fun onOpen(
        webSocket: WebSocket,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // Test that it can be caught specifically
            assertThrows(RuntimeCIFSException.class, () -> {
                throw new RuntimeCIFSException("Test exception");
            });
    
            // Test exception handling behavior
            try {
                throw new RuntimeCIFSException("Original message", new IllegalStateException("Cause"));
            } catch (RuntimeCIFSException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // Then
                assertEquals(0, opnum, "Opnum should be 0 even with parameterized constructor");
            }
        }
    
        @Nested
        @DisplayName("Result Handling Tests")
        class ResultHandlingTests {
    
            @Test
            @DisplayName("getResult should return null when result is 0")
            void testGetResultSuccess() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

    import org.codelibs.core.exception.ClassNotFoundRuntimeException;
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * Utility class for handling {@link ClassLoader}.
     *
     * @author koichik
     */
    public abstract class ClassLoaderUtil {
    
        /**
         * Do not instantiate.
         */
        protected ClassLoaderUtil() {
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            } catch (Exception e) {
                fail("Should have caught as FessSystemException");
            }
        }
    
        public void test_longMessageHandling() {
            // Test handling of long messages
            StringBuilder longMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longMessage.append("Long message part ").append(i).append(" ");
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            // Test null input handling
            try {
                KuromojiCSVUtil.quoteEscape(null);
                fail("Should throw NullPointerException for null input");
            } catch (NullPointerException e) {
                // Expected behavior
            }
        }
    
        public void test_parse_null_input() {
            // Test null input handling
            try {
                KuromojiCSVUtil.parse(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top