Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 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/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)
  3. 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)
  4. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
            request.setGlobalToolchainsSource(new StringSource(""));
            ToolchainsParseException parseException = new ToolchainsParseException("MESSAGE", 4, 2);
            doThrow(parseException).when(toolchainsReader).read(any(InputStream.class), ArgumentMatchers.anyMap());
    
            try {
                toolchainBuilder.build(request);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    import java.math.BigInteger
    import java.net.ProtocolException
    import java.text.ParseException
    import java.text.SimpleDateFormat
    import java.util.Date
    import java.util.TimeZone
    import kotlin.reflect.KClass
    import okio.ByteString
    
    /**
     * Built-in adapters for reading standard ASN.1 types.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

    import org.apache.commons.cli.DefaultParser;
    import org.apache.commons.cli.DeprecatedAttributes;
    import org.apache.commons.cli.HelpFormatter;
    import org.apache.commons.cli.Option;
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.api.cli.Options;
    import org.apache.maven.api.cli.ParserRequest;
    import org.apache.maven.api.services.Interpolator;
    import org.apache.maven.api.services.InterpolatorException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            final InvalidQueryException parseException = new InvalidQueryException(parseErrorCode, message);
    
            // Verify different message codes
            assertEquals(unknownErrorCode, unknownException.getMessageCode());
            assertEquals(parseErrorCode, parseException.getMessageCode());
            assertNotSame(unknownException.getMessageCode(), parseException.getMessageCode());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

    import org.apache.commons.cli.CommandLineParser;
    import org.apache.commons.cli.DefaultParser;
    import org.apache.commons.cli.Option;
    import org.apache.commons.cli.Options;
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.Maven;
    import org.apache.maven.api.Constants;
    import org.apache.maven.cli.transfer.ConsoleMavenTransferListener;
    import org.apache.maven.cli.transfer.QuietMavenTransferListener;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

    import org.apache.commons.cli.Option;
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    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();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

    import org.apache.commons.cli.DeprecatedAttributes;
    import org.apache.commons.cli.HelpFormatter;
    import org.apache.commons.cli.Option;
    import org.apache.commons.cli.Options;
    import org.apache.commons.cli.ParseException;
    import org.apache.maven.jline.MessageUtils;
    
    /**
     */
    @Deprecated
    public class CLIManager {
        public static final char ALTERNATE_POM_FILE = 'f';
    
        public static final char BATCH_MODE = 'B';
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top