Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 799 for thrown (0.12 seconds)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    val Project.gradleInstallPath: Provider<String>
        get() = gradleProperty(GRADLE_INSTALL_PATH).orElse(
            provider<String> {
                throw RuntimeException("You can't install without setting the $GRADLE_INSTALL_PATH property.")
            }
        )
    
    
    val Project.rerunAllTests: Provider<Boolean>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 22:01:30 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

        }
    
        /**
         * Executes the upgrade goal.
         * Template method that calls doUpgrade and optionally saves modifications.
         */
        @Override
        public int execute(UpgradeContext context) throws Exception {
            UpgradeOptions options = context.options();
    
            // Determine target model version
            // Default to 4.0.0 unless --all is specified or explicit --model-version is provided
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. api/maven-api-settings/src/main/mdo/settings.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) || PROJECT_LEVEL.equals(sourceLevel)  || GLOBAL_LEVEL.equals(sourceLevel))) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

         * This allows Maven 4 API to properly resolve the project hierarchy.
         */
        private Path createTempProjectStructure(UpgradeContext context, Map<Path, Document> pomMap) throws Exception {
            Path tempDir = Files.createTempDirectory("mvnup-project-");
            context.debug("Created temp project directory: " + tempDir);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                    result.lookup = shellContext.lookup;
                    result.eventSpyDispatcher = shellContext.eventSpyDispatcher;
                };
            }
    
            @Override
            public void close() throws Exception {
                shellMavenInvoker.close();
                shellEncryptInvoker.close();
                shellUpgradeInvoker.close();
            }
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java

            assertTrue(
                    !message.contains("[WARNING]") || message.contains("[WARNING] Deprecated plugin usage"),
                    "Warnings should be filtered when errors are present or shown if explicitly included");
        }
    
        @Test
        void testExceptionMessageWithOnlyWarnings() {
            List<ProjectBuildingResult> results = new ArrayList<>();
    
            List<ModelProblem> problems = new ArrayList<>();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jul 26 19:15:57 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. fastapi/applications.py

                    * `@app.get("/users/", tags=["users"])`
                    * `@app.get("/items/", tags=["items"])`
    
                    The order of the tags can be used to specify the order shown in
                    tools like Swagger UI, used in the automatic path `/docs`.
    
                    It's not required to specify all the tags used.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
  8. tests/connpool_test.go

    }
    
    type wrapperConnPool struct {
    	db     *sql.DB
    	got    []string
    	expect []string
    }
    
    func (c *wrapperConnPool) Ping() error {
    	return c.db.Ping()
    }
    
    // If you use BeginTx returned *sql.Tx as shown below then you can't record queries in a transaction.
    //
    //	func (c *wrapperConnPool) BeginTx(ctx context.Context, opts *sql.TxOptions) (*sql.Tx, error) {
    //		 return c.db.BeginTx(ctx, opts)
    //	}
    //
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                                    versionToIncubating.getOrPut(version) { mutableSetOf() }.addAll(incubating)
                                }
                            } catch (e: Exception) {
                                throw Exception("Unable to parse $sourceFile", e)
                            }
                        }
                    }
                }
                generateTextReport(versionToIncubating)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

    import org.apache.maven.cling.invoker.CommonsCliOptions;
    
    public class CommonsCliMavenOptions extends CommonsCliOptions implements MavenOptions {
        public static CommonsCliMavenOptions parse(String source, String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
            return new CommonsCliMavenOptions(source, cliManager, cliManager.parse(args));
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 14.8K bytes
    - Click Count (0)
Back to Top