Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 2,324 for exception (0.08 sec)

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

        }
    
        @Test
        @DisplayName("verifyMIC delegates to GSS and succeeds")
        void verifyMIC_success() throws Exception {
            byte[] data = new byte[] { 1, 2 };
            byte[] mic = new byte[] { 3 };
            // No exception means success
            doNothing().when(gssContext).verifyMIC(eq(mic), eq(0), eq(1), eq(data), eq(0), eq(2), any());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            final Exception[] exceptions = new Exception[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    try {
                        providers[index] = new FessTimeResourceProvider(mockConfig);
                    } catch (Exception e) {
                        exceptions[index] = e;
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcException.java

     */
    
    package jcifs.smb1.dcerpc;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    
    import jcifs.smb1.smb1.WinError;
    import jcifs.smb1.util.Hexdump;
    
    /**
     * DCE/RPC exception class for SMB1 compatibility
     */
    public class DcerpcException extends IOException implements DcerpcError, WinError {
    
        static String getMessageByDcerpcError(final int errcode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

                }
            } catch (final Exception e) {
                logger.error("Failed to purge user info.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            // update job logs
            try {
                jobLogService.updateStatus();
            } catch (final Exception e) {
                logger.error("Failed to purge job logs.", e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertNotNull(errorHandler, "Error handler should not be null");
    
            // Test error classification for different exception types
            Exception hardwareError = new RuntimeException("RDMA hardware not supported");
            Exception networkError = new java.io.IOException("Network connection failed");
            Exception timeoutError = new java.net.SocketTimeoutException("Operation timed out");
    
            // Test fallback logic
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/PropertiesUtil.java

    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.Reader;
    import java.io.Writer;
    import java.net.URL;
    import java.nio.charset.Charset;
    import java.util.Properties;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.net.URLUtil;
    
    /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

        @DisplayName("Test readBytesWireFormat with invalid structure size throws exception")
        void testReadBytesWireFormatInvalidStructureSize() {
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to 4 (invalid, should be 2)
            SMBUtil.writeInt2(4, buffer, bufferIndex);
    
            SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testToBigDecimalForEmptyString() throws Exception {
            assertNull(BigDecimalConversionUtil.toBigDecimal(""));
        }
    
        /**
         * @throws Exception
         */
        public void testBigDouble() throws Exception {
            assertEquals("12500000", BigDecimalConversionUtil.toBigDecimal(12500000D).toString());
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

                    // When & Then
                    SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class,
                            () -> response.readBytesWireFormat(buffer, 0), "Should throw exception for structure size: " + invalidSize);
                    assertEquals("Structure size != 4", exception.getMessage());
                }
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception thrown while writing an XML file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlWriterException extends MavenException {
    
        private final Location location;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top