- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 68 for IllegalArgumentException (0.23 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java
} } } private Model findRawModel(Path from, Path p) { if (!Files.isRegularFile(p)) { throw new IllegalArgumentException("Not a regular file: " + p); } if (!addEdge(from, p, problems)) { return null; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java
|| FAIL_AT_END.equals(failureBehavior) || FAIL_NEVER.equals(failureBehavior)) { this.failureBehavior = failureBehavior; } else { throw new IllegalArgumentException("Invalid failure behavior (must be one of: '" + FAIL_FAST + "', '" + FAIL_AT_END + "', '" + FAIL_NEVER + "')."); } } public String getFailureBehavior() {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 06:02:04 GMT 2023 - 5.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java
*/ @Experimental public interface ArtifactInstaller extends Service { /** * @param request {@link ArtifactInstallerRequest} * @throws ArtifactInstallerException in case of an error * @throws IllegalArgumentException in case {@code request} is {@code null} */ void install(@Nonnull ArtifactInstallerRequest request); /** * @param session the repository session
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Nov 17 15:52:15 GMT 2023 - 2.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
roots = prj.getCompileSourceRoots(); } else if (scope == ProjectScope.TEST) { roots = prj.getTestCompileSourceRoots(); } else { throw new IllegalArgumentException("Unsupported scope " + scope); } return roots.stream() .map(Paths::get) .collect(Collectors.collectingAndThen(toList(), Collections::unmodifiableList)); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 7.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java
return DEFAULT_VALIDATION_LEVEL; } try { return ValidationReportLevel.valueOf(level.toUpperCase(Locale.ENGLISH)); } catch (IllegalArgumentException e) { logger.warn( "Invalid value specified for property {}: '{}'. Supported values are (case insensitive): {}", MAVEN_PLUGIN_VALIDATION_KEY,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sun Nov 19 21:11:13 GMT 2023 - 17.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
this.runtimeInformation = runtimeInformation; } public MavenSession getMavenSession() { if (mavenSession == null) { throw new IllegalArgumentException("Found null mavenSession on session " + this); } return mavenSession; } @Override public List<Project> getProjects(List<MavenProject> projects) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Apr 23 12:55:57 GMT 2024 - 7.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java
artifacts = new SetWithResolutionResult( ((ArtifactsSetWithResult) projectArtifacts).getResult(), projectArtifacts); } else { throw new IllegalArgumentException("projectArtifacts must implement ArtifactsSetWithResult"); } CacheRecord record = new CacheRecord(artifacts); cache.put(key, record); return record; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:49 GMT 2024 - 8.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformationTest.java
assertFalse(rtInfo.isMavenVersion("[9.0,)")); assertThrows( IllegalArgumentException.class, () -> rtInfo.isMavenVersion("[3.0,"), "Bad version range wasn't rejected"); assertThrows( IllegalArgumentException.class, () -> rtInfo.isMavenVersion(""), "Bad version range wasn't rejected"); assertThrows(
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 2.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java
* @throws IllegalArgumentException when */ public void setRequestType(final int requestType) { switch (requestType) { case REQUEST_PUT: break; case REQUEST_GET: break; default: throw new IllegalArgumentException("Illegal request type: " + requestType); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 7.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
if (relativeSource.isAbsolute()) { throw new IllegalArgumentException("Supplied URI is not relative"); } URI source = baseURI.resolve(relativeSource); if (!source.toASCIIString().startsWith(baseURI.toASCIIString())) { throw new IllegalArgumentException("Supplied relative URI escapes baseUrl"); } GetTask getTask = new GetTask(source);
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.4K bytes - Viewed (0)