Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
            assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA));
            System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' }));
        }
    
        /**
         * @throws Exception
         */
        public void testDecode() throws Exception {
            final byte[] decodedData = Base64Util.decode(ENCODED_DATA);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/xml/DomUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetContentsAsStream() throws Exception {
            final String contents = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo/>";
            assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8"));
        }
    
        /**
         * @throws Exception
         */
        public void testToString() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderException.java

    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception thrown while reading an XML file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlReaderException 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)
  4. 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)
  5. 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)
  6. 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)
  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. 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)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.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.ResourceUtil;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.entity.ExtractData;
    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
    - 4.6K bytes
    - Viewed (0)
Back to top