Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,971 for Exceptions (0.71 sec)

  1. src/main/java/org/codelibs/core/misc/DynamicProperties.java

    import java.util.Enumeration;
    import java.util.InvalidPropertiesFormatException;
    import java.util.Map;
    import java.util.Properties;
    import java.util.Set;
    
    import org.codelibs.core.exception.FileAccessException;
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * The {@code DynamicProperties} class extends {@link Properties} to provide dynamic
     * loading and storing of properties from a file. It monitors the file for changes
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        @DisplayName("Methods should handle empty buffer")
        void testMethodsWithEmptyBuffer() {
            // Arrange
            byte[] emptyBuffer = new byte[0];
    
            // Act & Assert - These should not throw exceptions
            assertEquals(0, response.writeSetupWireFormat(emptyBuffer, 0));
            assertEquals(0, response.writeParametersWireFormat(emptyBuffer, 0));
            assertEquals(0, response.writeDataWireFormat(emptyBuffer, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            verify(session, times(4)).close();
            verify(transport, times(4)).close();
        }
    
        @Test
        @DisplayName("isSMB2 true and exception fallback to false")
        void isSMB2Cases() throws Exception {
            // Happy path returns true; transport exception path returns false
            when(transport.isSMB2()).thenReturn(true);
            assertTrue(handle.isSMB2());
    
            reset(transport);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            }
    
            @Test
            @DisplayName("Should throw exception on null buffer")
            void testDecodeWithNullBuffer() {
                assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(null, 0, 10),
                        "Should throw exception for null buffer");
            }
    
            @Test
            @DisplayName("Should throw exception on negative buffer index")
            void testDecodeWithNegativeIndex() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("Should throw exception on null buffer")
            void testEncodeWithNullBuffer() {
                assertThrows(IllegalArgumentException.class, () -> testRequest.encode(null, 0), "Should throw exception for null buffer");
            }
    
            @Test
            @DisplayName("Should throw exception on negative index")
            void testEncodeWithNegativeIndex() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

                    stats[2]++;
                    break;
                  case SIZE:
                    stats[3]++;
                    break;
                  default:
                    throw new IllegalStateException("No collected exceptions in GWT CacheBuilder.");
                }
              }
            };
    
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .expireAfterWrite(1000, MILLISECONDS)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

        public void test_setError_withNullException() {
            // Test setError with null exception
            // Note: WebApiException constructor calls e.getMessage() on null exception, causing NullPointerException
            try {
                WebApiUtil.setError(500, (Exception) null);
                fail("setError should throw NullPointerException when passed null exception");
            } catch (NullPointerException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

            try {
              ByteStreams.exhaust(decodingStream);
              fail("Expected DecodingException");
            } catch (DecodingException expected) {
              // Don't assert on the expectedMessage; the messages for exceptions thrown from the
              // decoding stream may differ from the messages for the decode methods.
            } catch (IOException e) {
              fail("Expected DecodingException but got: " + e);
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  9. docs/bucket/replication/DESIGN.md

    ### Multi destination replication
    
    The replication design for multiple sites works in a similar manner as described above for two site scenario. However there are some
    important exceptions.
    
    Replication status on the source cluster will be marked as `COMPLETED` only after replication is completed on all targets. If one or more targets failed replication, the replication status is reflected as `PENDING`.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_2x.md

     *  Fix: When a network interceptor mutates a request, that change is now
        reflected in `Response.networkResponse()`.
     *  Fix: Badly-behaving caches now throw a checked exception instead of a
        `NullPointerException`.
     *  Fix: Better handling of uncaught exceptions in MockWebServer with HTTP/2.
    
    ## Version 2.3.0
    
    _2015-03-16_
    
     *  **HTTP/2 support.** We've done interop testing and haven't seen any
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
Back to top