- Sort Score
- Num 10 results
- Language All
Results 631 - 640 of 3,747 for throwIt (0.05 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
} catch (XMLStreamException e) { throw new RuntimeException("Error parsing: " + pom, e); } } return i; } /** * <p>main.</p> * * @param args a {@link String} object. * @throws org.openjdk.jmh.runner.RunnerException if any. */ public static void main(String... args) throws RunnerException {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java
throws ToolchainManagerException { return getDelegate().getToolchains(session, type, requirements); } @Nonnull @Override public Optional<org.apache.maven.api.Toolchain> getToolchainFromBuildContext( @Nonnull Session session, @Nonnull String type) throws ToolchainManagerException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 31 10:58:52 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
private void setPrivateField(Object obj, String fieldName, Object value) throws Exception { Field field = obj.getClass().getDeclaredField(fieldName); field.setAccessible(true); field.set(obj, value); } /** * Helper method to get private field value using reflection */ private Object getPrivateField(Object obj, String fieldName) throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
public GroovyEngine groovyEngine; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); groovyEngine = new GroovyEngine(); } @Override protected void tearDown(TestInfo testInfo) throws Exception { if (groovyEngine != null) { groovyEngine.close(); } ComponentUtil.setFessConfig(null);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
} catch (NoSuchMethodException e) { throw newLinkageError(e); } } else if (rawType.equals(Consumer.class)) { return (Consumer<Object>) v -> {}; } else { return null; } } private static <T> void callAllPublicMethods(TypeToken<T> type, T object) throws InvocationTargetException { for (Method method : type.getRawType().getMethods()) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
/** * Ensures the exception is thrown and captured via assertThrows with the right message. */ @Test void assertThrowsCapturesExceptionAndMessage() { // Act & Assert SmbEndOfFileException thrown = assertThrows(SmbEndOfFileException.class, () -> { throw new SmbEndOfFileException(); }); assertEquals("Unexpectedly reached end of file", thrown.getMessage()); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
} public void testExecute_idempotentConcurrently() throws InterruptedException { CountDownLatch okayToRun = new CountDownLatch(1); AtomicInteger runCalled = new AtomicInteger(); list.add( () -> { try { okayToRun.await(); } catch (InterruptedException e) { Thread.currentThread().interrupt(); throw new RuntimeException(e); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java
return path; } @Override public void merge(File existing, File result) throws RepositoryException { merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null); } @Override public void merge(Path existing, Path result) throws RepositoryException { Metadata recessive = read(existing); merge(recessive);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.2K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
cliManager.displayHelp(System.out); throw e; } } private void informativeCommands(CliRequest cliRequest) throws ExitException { if (cliRequest.commandLine.hasOption(CLIManager.HELP)) { cliManager.displayHelp(System.out); throw new ExitException(0); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java
*/ public class FessIntervalControllerTest extends UnitFessTestCase { @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } /** * Test that FessIntervalController can be instantiated correctly */ @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.2K bytes - Click Count (0)