Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1991 - 2000 of 2,652 for throw (0.02 sec)

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

         *
         * @throws org.apache.maven.api.services.MavenException if not called from the within a mojo execution
         */
        @Nonnull
        Map<String, Object> getPluginContext(@Nonnull Project project);
    
        /**
         * Retrieves the service for the interface
         *
         * @throws NoSuchElementException if the service could not be found
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testScmInfoCalculatedCorrectlyOnParentAndChildRead() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

        ListenableFuture<String> f = FluentFuture.from(SettableFuture.<String>create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
      }
    
      public void testFromNonFluentFuture() throws Exception {
        ListenableFuture<String> f =
            new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {};
        verify(!(f instanceof FluentFuture));
        assertThat(FluentFuture.from(f).get()).isEqualTo("a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ContextConfigTest.java

        @Test
        public void testURLHandlerRegistration () throws IOException {
            Config.registerSmbURLHandler();
            URL u = new URL("smb://localhost/test");
            assertThat(u.openConnection(), CoreMatchers.is(CoreMatchers.instanceOf(SmbFile.class)));
        }
    
    
        @Test
        @SuppressWarnings ( "deprecation" )
        public void testLegacyURLConstructor () throws IOException {
            Config.registerSmbURLHandler();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

        private Artifact projectArtifact;
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected String component() {
            return "resolver";
        }
    
        @Test
        void testMNG4738() throws Exception {
            Artifact g = createLocalArtifact("g", "1.0");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenEncCling().run(args);
            System.exit(exitCode);
        }
    
        /**
         * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.
         */
        public static int main(String[] args, ClassWorld world) throws IOException {
            return new MavenEncCling(world).run(args);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

    import okhttp3.tls.HandshakeCertificates;
    import okhttp3.tls.HeldCertificate;
    
    /**
     * Create an HTTPS server with a self-signed certificate that OkHttp trusts.
     */
    public class HttpsServer {
      public void run() throws Exception {
        HeldCertificate localhostCertificate = new HeldCertificate.Builder()
            .addSubjectAlternativeName("localhost")
            .build();
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 02 14:04:37 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

        @Override
        public void init() throws IOException {
            for (final ReadingConverter converter : converters) {
                converter.init();
            }
        }
    
        @Override
        public List<String> convert(final String text, final String field, final String... lang) throws IOException {
            final Queue<String> queue = new LinkedList<>();
            queue.add(text);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * should cause {@link #run()} to return.
       */
      protected abstract void run() throws Exception;
    
      /**
       * Stop the service. This method is invoked on the execution thread.
       *
       * <p>By default this method does nothing.
       */
      // TODO: consider supporting a TearDownTestCase-like API
      protected void shutDown() throws Exception {}
    
      /**
       * Invoked to request the service to stop.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TarExtractorTest.java

    public class TarExtractorTest extends PlainTestCase {
        private static final Logger logger = LoggerFactory.getLogger(TarExtractorTest.class);
    
        public TarExtractor tarExtractor;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer();
            container.singleton("archiveStreamFactory", ArchiveStreamFactory.class)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top