Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 2,174 for Exception (0.22 sec)

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

        void read_lenZero_returnsZero() throws Exception {
            SmbRandomAccessFile raf = newInstance("r", false, false, false);
            byte[] buf = new byte[4];
            assertEquals(0, raf.read(buf, 0, 0));
        }
    
        @Test
        @DisplayName("read(): returns -1 when underlying read reports EOF")
        void read_returnsMinusOne_onEOF() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/SearchQueryException.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when there are issues with search query processing.
     *
     * This exception is typically thrown when query parsing, serialization,
     * or processing fails during search operations. It extends FessSystemException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

              try {
                nextToRun.call(listener);
              } catch (Exception e) { // sneaky checked exception
                // Log it and keep going.
                logger
                    .get()
                    .log(
                        Level.SEVERE,
                        "Exception while executing callback: " + listener + " " + nextLabel,
                        e);
              }
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SmbCircuitBreaker.java

                try {
                    listener.onSuccess(this);
                } catch (Exception ex) {
                    log.warn("Listener threw exception", ex);
                }
            }
        }
    
        private void onFailure(Exception e) {
            onFailure(e, 0);
        }
    
        private void onFailure(Exception e, long responseTimeMs) {
            State currentState = state.get();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat reads length correctly")
        void testReadParametersWireFormat() throws Exception {
            byte[] buffer = new byte[100];
            int expectedLength = 0x12345678;
    
            // Write length in little-endian format
            SMBUtil.writeInt4(expectedLength, buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        RuntimeException exception = new RuntimeException();
        T proxy =
            Reflection.newProxy(
                interfaceType,
                new AbstractInvocationHandler() {
                  @Override
                  protected Object handleInvocation(Object p, Method m, @Nullable Object[] args)
                      throws Throwable {
                    throw exception;
                  }
                });
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

        @DisplayName("createChannelTransport should fail with null addresses")
        void testCreateChannelTransportWithNullAddresses() {
            // Use reflection to access private method for testing
            Exception exception = assertThrows(Exception.class, () -> {
                java.lang.reflect.Method method =
                        MultiChannelManager.class.getDeclaredMethod("createChannelTransport", InetAddress.class, InetAddress.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/CIFSUnsupportedCryptoException.java

        /**
         * Constructs a CIFS unsupported crypto exception with no detail message.
         */
        public CIFSUnsupportedCryptoException() {
        }
    
        /**
         * Constructs a CIFS unsupported crypto exception with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause of this exception
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NbtExceptionTest.java

            NbtException exception = new NbtException(errorClass, errorCode);
    
            assertEquals(errorClass, exception.errorClass, "Error class should match the constructor argument");
            assertEquals(errorCode, exception.errorCode, "Error code should match the constructor argument");
            assertEquals(NbtException.getErrorString(errorClass, errorCode), exception.getMessage(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class FileBackedOutputStreamTest extends IoTestCase {
    
    
      public void testThreshold() throws Exception {
        testThreshold(0, 100, true, false);
        testThreshold(10, 100, true, false);
        testThreshold(100, 100, true, false);
        testThreshold(1000, 100, true, false);
        testThreshold(0, 100, false, false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top