Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 2,324 for exception (0.08 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          throws IOException {
        if (singleByte) {
          for (int i = off; i < off + len; i++) {
            out.write(b[i]);
          }
        } else {
          out.write(b, off, len);
        }
        out.flush(); // for coverage
      }
    
      // TODO(chrisn): only works if we ensure we have crossed file threshold
    
      public void testWriteErrorAfterClose() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertTrue(result > 0);
            assertNotNull(response.getSecurityDescriptor());
        }
    
        @Test
        @DisplayName("Test readDataWireFormat with IOException throws ArrayIndexOutOfBoundsException")
        void testReadDataWireFormatWithIOException() throws Exception {
            // Create an invalid security descriptor buffer that will cause ArrayIndexOutOfBoundsException
            byte[] buffer = new byte[4];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

         * @return The value of found property. (NotNull: if not found, exception)
         * @throws ConfigPropertyNotFoundException When the property is not found.
         */
        String get(String propertyKey);
    
        /**
         * Is the property true?
         * @param propertyKey The key of the property which is boolean type. (NotNull)
         * @return The determination, true or false. (if not found, exception)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        @Test
        void testInvalidPath() throws Exception {
            // Test various invalid URL formats that should throw MalformedURLException
            assertThrows(MalformedURLException.class, () -> new SmbFile("not-a-url", context),
                    "Invalid URL should throw MalformedURLException");
        }
    
        @Test
        void testPublicShareAccess() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

    import java.io.UnsupportedEncodingException;
    import java.security.MessageDigest;
    import java.security.NoSuchAlgorithmException;
    
    import org.codelibs.core.exception.ClIllegalStateException;
    import org.codelibs.core.exception.NoSuchAlgorithmRuntimeException;
    
    /**
     * Utility for handling {@link MessageDigest}.
     *
     * @author higa
     * @author shinsuke
     */
    public abstract class MessageDigestUtil {
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

    import org.apache.maven.api.services.Request;
    import org.apache.maven.api.services.Result;
    
    /**
     * Exception thrown when a batch request operation fails. This exception contains the results
     * of all requests that were attempted, including both successful and failed operations.
     * <p>
     * The exception provides access to detailed results through {@link #getResults()}, allowing
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top