- Sort Score
- Result 10 results
- Languages All
Results 1791 - 1800 of 2,367 for Exceptions (0.11 sec)
-
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolverTest.java
private LifecycleDependencyResolver resolver; @Override protected String getProjectsDirectory() { return null; } @Test void testCachedReactorProjectDependencies() throws Exception { MavenSession session = createMavenSession( new File("src/test/projects/lifecycle-dependency-resolver/pom.xml"), new Properties(), true); Collection<String> scopesToCollect = null;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
T mock = mock(forwarderClass, CALLS_REAL_METHODS); try { T stubber = doReturn(delegate).when(mock); DELEGATE_METHOD.invoke(stubber); } catch (Exception e) { throw new RuntimeException(e); } return mock; } }); } private ForwardingObjectTester() {}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
/** * Tests for {@link AbstractListeningExecutorService}. * * @author Colin Decker */ @NullUnmarked public class AbstractListeningExecutorServiceTest extends TestCase { public void testSubmit() throws Exception { /* * Mostly just tests that TrustedListenableFutureTask are created and run; tests for * TrustedListenableFutureTask should ensure that listeners are called correctly. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java
// // p1 ---> p0 --> super model // // ---------------------------------------------------------------------- @Test void testDependencyManagement() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile(); File pom1 = new File(pom0Basedir, "p1/pom.xml");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 3.1K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
"Should fail, since you must specify a file"); assertEquals("file cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile); try (InputStream is = source.getInputStream();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/RecursiveDeleteOption.java
* @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible // java.nio.file public enum RecursiveDeleteOption { /** * Specifies that the recursive delete should not throw an exception when it can't be guaranteed * that it can be done securely, without vulnerability to race conditions (i.e. when the file * system does not support {@link SecureDirectoryStream}). *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CollectPreconditions.java
if (value <= 0) { throw new IllegalArgumentException(name + " must be positive but was: " + value); } } /** * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent * error message. */ static void checkRemove(boolean canRemove) { checkState(canRemove, "no calls to next() since the last call to remove()"); } private CollectPreconditions() {}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 10 21:56:42 UTC 2025 - 2.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java
import org.apache.maven.model.building.ModelProblem; /** * @deprecated use {@code org.apache.maven.api.services.ProjectBuilder} instead */ @Deprecated(since = "4.0.0") public class ProjectBuildingException extends Exception { private final String projectId; private File pomFile; private List<ProjectBuildingResult> results; public ProjectBuildingException(String projectId, String message, Throwable cause) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jul 26 19:15:57 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
try { final Path path = Paths.get(LaServletContextUtil.getServletContext().getRealPath(key)); if (Files.isRegularFile(path)) { return Files.getLastModifiedTime(path).toMillis(); } } catch (final Exception e) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
checkNotNull(callable); checkNotNull(executor); return submitAsync( new AsyncCallable<T>() { @Override public ListenableFuture<T> call() throws Exception { return immediateFuture(callable.call()); } @Override public String toString() { return callable.toString(); } },
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 22.1K bytes - Viewed (0)