- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 819 for throws (0.03 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java
return false; } @Override public boolean isLeaf() { return node.children().isEmpty(); } @Override public void setValue(Object value) { throw new UnsupportedOperationException(); } @Override public NodeIterator childIterator(NodeTest test, boolean reverse, NodePointer startWith) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 3.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationRule.java
return null; } else if (since instanceof SinceTagStatus.Missing) { return acceptOrReject(member, Violation.error(member, SINCE_ERROR_MESSAGE + getCurrentVersion())); } else { throw new IllegalStateException("Unknown status: " + since); } } private boolean shouldSkipViolationCheckFor(JApiCompatibility member) { return !isClassFieldConstructorOrMethod(member) ||Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 20.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java
* under the License. */ package org.apache.maven.model.building; /** * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits * the problem. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/AbstractLifecycleProvider.java
HashMap<String, LifecyclePhase> defaultBindings = null; if (pluginBindings != null) { final int len = pluginBindings.length; if (len < 2 || len % 2 != 0) { throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements"); } defaultBindings = new LinkedHashMap<>(len / 2); for (int i = 0; i < len; i += 2) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
public void setSourceLevel(String sourceLevel) { if (sourceLevelSet) { throw new IllegalStateException("Cannot reset sourceLevel attribute; it is already set to: " + sourceLevel); } else if (!(USER_LEVEL.equals(sourceLevel) || GLOBAL_LEVEL.equals(sourceLevel))) { throw new IllegalArgumentException("sourceLevel must be one of: {" + USER_LEVEL + "," + GLOBAL_LEVEL + "}"); } else {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 9.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java
@Override public ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) { throw new UnsupportedOperationException("Cannot retrieve metadata in this test case"); } @Override public List<ArtifactVersion> retrieveAvailableVersions(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
Model model = new Model(); model.addProperty("key1", "value1"); model.addProperty("key2", "value2"); assertEquals(2, model.getProperties().size()); // This should not throw NullPointerException model.getProperties().clear(); assertEquals(0, model.getProperties().size()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 08:09:30 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java
Objects.requireNonNull(projectRealm, "projectRealm cannot be null"); if (cache.containsKey(key)) { throw new IllegalStateException("Duplicate project realm for extensions " + key); } CacheRecord record = new CacheRecord(projectRealm, extensionArtifactFilter); cache.put(key, record);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.8K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java
try { return doCleanArgs(args); } catch (RuntimeException e) { for (String a : args) { System.out.println("Arg: '" + a + "'"); } throw e; } } private static String[] doCleanArgs(String[] args) { List<String> cleaned = new ArrayList<>(); StringBuilder currentArg = null; for (String arg : args) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 3.4K bytes - Click Count (0)