- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 44 for IORuntimeException (0.11 seconds)
-
src/main/java/org/codelibs/core/exception/IORuntimeException.java
* * @author higa */ public class IORuntimeException extends ClRuntimeException { private static final long serialVersionUID = 1533554330702215389L; /** * Creates a {@link IORuntimeException}. * * @param cause * The cause of the exception */ public IORuntimeException(final IOException cause) { super("ECL0040", asArray(cause), cause);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads the contents of a file into a byte array and returns it. * <p> * <strong>Note:</strong> This method loads the entire file into memory. * For files larger than {@value #MAX_BUF_SIZE} bytes (10MB), an * {@link IORuntimeException} will be thrown to prevent OutOfMemoryError.
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
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; /** * Utility class for {@link Properties} operations. * * @author higa */ public abstract class PropertiesUtil { /** * Do not instantiate.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.Channel; import java.nio.channels.FileChannel; import java.nio.channels.FileChannel.MapMode; import org.codelibs.core.exception.IORuntimeException; /** * Utility for {@link Channel}. * * Author: koichik */ public abstract class ChannelUtil { /** * Do not instantiate. */ protected ChannelUtil() { }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
} }; try { SearchEngineUtil.getXContentString(xContent, XContentType.JSON); fail("Should throw IORuntimeException"); } catch (IORuntimeException e) { assertTrue(e.getCause() instanceof IOException); assertEquals("Test exception", e.getCause().getMessage()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/OutputStreamUtil.java
import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import org.codelibs.core.exception.IORuntimeException; /** * Utility class for {@link OutputStream} operations. * * @author shot */ public abstract class OutputStreamUtil { /** * Do not instantiate. */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java
* * @param is the input stream (must not be {@literal null}) * @return {@link JarInputStream} * @throws IORuntimeException if an {@link IOException} occurs * @see JarInputStream#JarInputStream(InputStream) */ public static JarInputStream create(final InputStream is) throws IORuntimeException { assertArgumentNotNull("is", is); try { return new JarInputStream(is);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
import java.util.function.Function; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.fess.opensearch.client.SearchEngineClient; import org.lastaflute.di.exception.IORuntimeException; import org.opensearch.core.xcontent.MediaType; import org.opensearch.core.xcontent.ToXContent; import org.opensearch.core.xcontent.XContentBuilder; import org.opensearch.core.xcontent.XContentHelper;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
import java.util.stream.Collectors; import org.apache.commons.text.StringEscapeUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.exception.IORuntimeException; import org.codelibs.core.io.CopyUtil; import org.codelibs.core.lang.StringUtil; import org.codelibs.core.misc.Pair; import org.codelibs.curl.CurlResponse; import org.codelibs.fess.Constants;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 32.1K bytes - Click Count (0)