Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for ParseException (0.09 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java

        @Test
        void testNoPluginsOptionByDefault() throws ParseException {
            String[] args = {"apply"};
            CommonsCliUpgradeOptions options = CommonsCliUpgradeOptions.parse(args);
    
            assertFalse(options.plugins().isPresent(), "--plugins option should not be present by default");
        }
    
        @Test
        void testPluginsOptionWithOtherFlags() throws ParseException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            ParseException parseException = new ParseException(errorMessage);
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            assertEquals("org.apache.lucene.queryparser.classic.ParseException: " + errorMessage, queryParseException.getMessage());
        }
    
        @Test
        public void test_getCause() {
            // Test that the cause is properly set and retrievable
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exception/QueryParseException.java

        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new QueryParseException with the specified ParseException as the cause.
         *
         * @param cause the ParseException that caused this exception
         */
        public QueryParseException(final ParseException cause) {
            super(cause);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/net/HostSpecifierTest.java

      public void testGoodIpAddresses() throws ParseException {
        for (String spec : GOOD_IPS) {
          assertGood(spec);
        }
      }
    
      public void testBadIpAddresses() {
        for (String spec : BAD_IPS) {
          assertBad(spec);
        }
      }
    
      public void testGoodDomains() throws ParseException {
        for (String spec : GOOD_DOMAINS) {
          assertGood(spec);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.stream.Stream;
    
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.cling.invoker.BaseParser;
    
    public class MavenParser extends BaseParser {
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 14 12:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeParser.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnup;
    
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.cling.invoker.BaseParser;
    
    public class UpgradeParser extends BaseParser {
        @Override
        protected Options parseCliOptions(LocalContext context) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.helper.IntervalControlHelper.IntervalRule;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

             * @param quoted whether the query is quoted
             * @return the created Query object
             * @throws ParseException if the query cannot be parsed
             */
            @Override
            protected Query getFieldQuery(final String field, final String queryText, final boolean quoted) throws ParseException {
                final org.apache.lucene.search.Query query = super.getFieldQuery(field, queryText, quoted);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptParser.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnenc;
    
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.cling.invoker.BaseParser;
    
    public class EncryptParser extends BaseParser {
        @Override
        protected Options parseCliOptions(LocalContext context) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/CommonsCliShellOptions.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.invoker.mvnsh;
    
    import org.apache.commons.cli.CommandLine;
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.mvnsh.ShellOptions;
    import org.apache.maven.cling.invoker.CommonsCliOptions;
    
    /**
     * Implementation of {@link ShellOptions} (base + shell).
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top