- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 3,747 for throw (0.02 seconds)
-
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
} @Test public void test_validate_noError() { // Test validate when no error is set // This should not throw exception try { WebApiUtil.validate(); } catch (WebApiException e) { fail("validate should not throw exception when no error is set"); } } @Test public void test_constructor_isPrivate() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
assertArgumentNotNull("props", props); assertArgumentNotNull("in", in); try { props.load(in); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Wraps exception handling for {@link Properties#load(Reader)}. * <p> * The input reader is not closed. * </p> *
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/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
"Should throw SMBProtocolDecodingException for structure size " + invalidSize); assertEquals("Expected structureSize = 9", exception.getMessage()); } @Test @DisplayName("Test readBytesWireFormat with FILE info type") void testReadBytesWireFormatFileInfoType() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K 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) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Writer.java
* @param persistedToolchains a persistedToolchains object. * @throws IOException java.io.IOException if any. */ public void write(Writer writer, PersistedToolchains persistedToolchains) throws IOException { try { delegate.write(writer, persistedToolchains.getDelegate()); } catch (XMLStreamException e) { throw new IOException(e); } } /** * Method write.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat May 31 10:30:45 GMT 2025 - 2.7K bytes - Click Count (0) -
.teamcity/scripts/FindCommits.java
} private static boolean refExists(String ref) throws IOException, InterruptedException { ExecResult r = exec("git", "rev-parse", "--verify", ref); return r.exitCode == 0; } private static void run(String... cmd) throws IOException, InterruptedException { ExecResult r = exec(cmd); if (r.exitCode != 0) { throw new AssertionError(String.join(" ", cmd) + " failed: " + r);Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 5.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
@Override public MavenProject build(File pom, ProjectBuilderConfiguration configuration) throws ProjectBuildingException { ProjectBuildingRequest request = injectSession(toRequest(configuration)); try { return projectBuilder.build(pom, request).getProject(); } catch (ProjectBuildingException e) { throw transformError(e); } } // This is used by the SITE plugin.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
} throw new CommandExecutionException("The command execution is timeout for user: " + username); } return exitValue; } catch (final CrawlerSystemException e) { throw e; } catch (final InterruptedException e) { if (mt != null && mt.isTeminated()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Context.java
throw new SmbException("Failed to query Kerberos session key from ExtendedGSSContext", ex); } } throw new SmbException("ExtendedGSSContext is not implemented by GSSContext"); } @Override public byte[] initSecContext(byte[] token, int off, int len) throws SmbException { try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13.5K bytes - Click Count (1) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java
public void formatProgress(StringBuilder builder, long progressedSize, long size) { if (progressedSize < 0L) { throw new IllegalArgumentException("progressed file size cannot be negative: " + size); } if (size >= 0 && progressedSize > size) { throw new IllegalArgumentException( "progressed file size cannot be greater than size: " + progressedSize + " > " + size); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Apr 16 10:09:21 GMT 2025 - 6.5K bytes - Click Count (0)