Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 819 for throws (0.04 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *
         * @param paths the path to format as a tool option
         * @return the option associated to this path type followed by the given path elements,
         *         or an empty array if there is no path element
         * @throws IllegalStateException if no option is associated to this path type
         */
        @Nonnull
        @Override
        public String[] option(Iterable<? extends Path> paths) {
            return format(null, paths);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
  2. 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)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * Gets the root directory of the project, which is the parent directory
         * containing the {@code .mvn} directory or flagged with {@code root="true"}.
         *
         * @return the root directory of the project
         * @throws IllegalStateException if the root directory could not be found
         * @see Session#getRootDirectory()
         */
        @Nonnull
        Path getRootDirectory();
    
        /**
         * Returns project parent project, if any.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  4. docs/pt/docs/python-types.md

    O parâmetro `name` é definido como `Optional[str]`, mas ele **não é opcional**, você não pode chamar a função sem o parâmetro:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    O parâmetro `name` **ainda é obrigatório** (não *opcional*) porque ele não possui um valor padrão. Mesmo assim, `name` aceita `None` como valor:
    
    ```Python
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  5. docs/en/docs/python-types.md

    The parameter `name` is defined as `Optional[str]`, but it is **not optional**, you cannot call the function without the parameter:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    ```Python
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

            MergingList(KeyComputer<V> keyComputer, int initialCapacity) {
                this.map = new LinkedHashMap<>(initialCapacity);
                this.keyComputer = keyComputer;
            }
    
            Object writeReplace() throws ObjectStreamException {
                return new ArrayList<>(this);
            }
    
            @Override
            public Iterator<V> iterator() {
                if (map != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

         * {@code <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the
         * exception is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the POM or an empty string if not known, never {@code null}.
         */
        public String getModelId() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. RELEASE.md

            *   (since v2.7) `tf.timestamp`. Throws `FailedPrecondition`
            *   (since v2.7) `tf.Variable.scatter_add` (and other scatter methods,
                both on ref and resource variables)
            *   (since v2.7) The random-number-generating ops in the `tf.random`
                module when the global random seed has not yet been set (via
                `tf.random.set_seed`). Throws `RuntimeError` from Python or
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Oct 28 22:27:41 GMT 2025
    - 740.4K bytes
    - Click Count (3)
  9. callbacks/row.go

    import (
    	"gorm.io/gorm"
    )
    
    func RowQuery(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    		if db.DryRun || db.Error != nil {
    			return
    		}
    
    		if isRows, ok := db.Get("rows"); ok && isRows.(bool) {
    			db.Statement.Settings.Delete("rows")
    			db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		} else {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Feb 08 05:40:41 GMT 2023
    - 581 bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/ModelUtils.java

                PluginContainer childContainer, PluginContainer parentContainer, boolean handleAsInheritance) {
            throw new UnsupportedOperationException();
        }
    
        public static List<Plugin> orderAfterMerge(
                List<Plugin> merged, List<Plugin> highPrioritySource, List<Plugin> lowPrioritySource) {
            throw new UnsupportedOperationException();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
Back to Top