Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 2,742 for throws (0.15 sec)

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

     */
    @Experimental
    @Consumer
    public interface TransportProvider extends Service {
        /**
         * Provides new {@link Transport} instance for given {@link RemoteRepository}, if possible.
         *
         * @throws TransportProviderException if passed in remote repository has invalid remote URL or unsupported protocol.
         */
        @Nonnull
        Transport transport(@Nonnull Session session, @Nonnull RemoteRepository repository);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

    public class AccessTokenHelperTest extends UnitFessTestCase {
    
        protected static final int NUM = 20;
    
        private AccessTokenHelper accessTokenHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            accessTokenHelper = new AccessTokenHelper();
        }
    
        public void test_generateAccessToken() {
            List<String> tokens = new ArrayList<String>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for the {@link HtmlEscapers} class.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    public class HtmlEscapersTest extends TestCase {
    
      public void testHtmlEscaper() throws Exception {
        assertEquals("xxx", htmlEscaper().escape("xxx"));
        assertEquals("&quot;test&quot;", htmlEscaper().escape("\"test\""));
        assertEquals("&#39;test&#39;", htmlEscaper().escape("\'test'"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java

    /**
     * @author shinsuke
     *
     */
    public class DataServiceImplTest extends PlainTestCase {
        public DataService dataService;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("dataHelper", MemoryDataHelper.class)//
                    .singleton("dataService", DataServiceImpl.class);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

          return certificates.single() as X509Certificate
        } catch (e: NoSuchElementException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        } catch (e: IllegalArgumentException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        } catch (e: GeneralSecurityException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        }
      }
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         * スレッドに割り込みを行い、終了するまで待機します。
         *
         * @param timeoutMillis
         *            待機する時間(ミリ秒単位)
         * @return スレッドが終了した場合は<code>true</code>
         * @throws InterruptedException
         *             待機中に割り込まれた場合
         */
        public boolean stop(final long timeoutMillis) throws InterruptedException {
            final Thread t = this.thread;
            synchronized (this) {
                if (t == null) {
                    return true;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            return artifact.isOptional();
        }
    
        /** {@inheritDoc} */
        public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException {
            return artifact.getSelectedVersion();
        }
    
        /** {@inheritDoc} */
        public boolean isSelectedVersionKnown() throws OverConstrainedVersionException {
            return artifact.isSelectedVersionKnown();
        }
    
        /** {@inheritDoc} */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

     *
     * @author Chris Nokleberg
     */
    
    @SuppressWarnings("deprecation") // tests of a deprecated method
    public class FilesCreateTempDirTest extends TestCase {
      public void testCreateTempDir() throws IOException {
        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IllegalStateException.class, Files::createTempDir);
          return;
        }
        File temp = Files.createTempDir();
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteArrayDataInput.java

    /**
     * An extension of {@code DataInput} for reading from in-memory byte arrays; its methods offer
     * identical functionality but do not throw {@link IOException}.
     *
     * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the
     * array. If any method encounters the end of the array prematurely, it throws {@link
     * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violation
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/ShareEnumIterator.java

                    log.error("Failed to create child URL", e);
                    continue;
                }
            }
            return null;
        }
    
    
        private SmbResource adapt ( FileEntry e ) throws MalformedURLException {
            return new SmbFile(this.parent, e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L, 0L, 0L);
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
Back to top