Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 2,742 for throws (0.09 sec)

  1. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * Future was cancelled, its listeners have been run, so its consumers will not hang.
         *
         * Contrast this to the situation we have if setResult() throws, a situation described below.
         */
        I sourceResult;
        try {
          sourceResult = getDone(localInputFuture);
        } catch (CancellationException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

        }
    
        /*--- START test common metadata ---*/
        @Test
        void mergeEmptyMetadata() throws Exception {
            Metadata metadata = new Metadata();
            assertFalse(metadata.merge(new Metadata()));
        }
    
        @Test
        void mergeDifferentGAV() throws Exception {
            // merge implicitly assumes that merge is only called on the same GAV and does not perform any validation here!
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.pluginArtifact = pluginArtifact;
        }
    
        public Lifecycle getLifecycleMapping(String lifecycleId) throws IOException, XMLStreamException {
            return getLifecycleMappings().get(lifecycleId);
        }
    
        public Map<String, Lifecycle> getLifecycleMappings() throws IOException, XMLStreamException {
            if (lifecycleMappings == null) {
                LifecycleConfiguration lifecycleConfiguration;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/MethodUtil.java

                    throw (Error) t;
                }
                throw new InvocationTargetRuntimeException(method.getDeclaringClass(), ex);
            } catch (final IllegalAccessException ex) {
                throw new IllegalAccessRuntimeException(method.getDeclaringClass(), ex);
            }
        }
    
        /**
         * {@link Method}オブジェクトによって表される基本となる{@code static}メソッドを、指定したパラメータで呼び出します。
         *
         * @param <T>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

              e: IOException,
            ) {
              latch.countDown()
            }
    
            @Throws(IOException::class)
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              try {
                Thread.sleep(500)
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
              assertFailsWith<IOException> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Address.java

         * 
         * @return the ip address
         */
        String getHostAddress ();
    
    
        /**
         * 
         * @return this address as an InetAddress
         * @throws UnknownHostException
         */
        InetAddress toInetAddress () throws UnknownHostException;
    
    
        /**
         * Guess called name to try for session establishment. These
         * methods are used by the smb package.
         * 
         * @return guessed name
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 03 13:22:30 UTC 2018
    - 2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/BiMap.java

       *
       * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order
       * of {@code map}.
       *
       * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
       *     map entries may have been added to the bimap before the exception was thrown.
       */
      @Override
      void putAll(Map<? extends K, ? extends V> map);
    
      // Views
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

        @Inject
        private RepositorySystem repositorySystem;
    
        @Inject
        PlexusContainer container;
    
        @Test
        @Disabled
        void testShouldNotCarryExclusionsOverFromDependencyToDependency() throws Exception {
            /*
            Dependency dep1 = new Dependency();
            dep1.setGroupId( "test" );
            dep1.setArtifactId( "test-artifact" );
            dep1.setVersion( "1" );
            dep1.setType( "jar" );
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

     */
    @Deprecated
    public class JdkPrefixProfileActivator extends DetectedProfileActivator {
        private static final String JDK_VERSION = System.getProperty("java.version");
    
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            String jdk = activation.getJdk();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       */
      override fun toString(): String = protocol
    
      companion object {
        /**
         * Returns the protocol identified by `protocol`.
         *
         * @throws IOException if `protocol` is unknown.
         */
        @JvmStatic
        @Throws(IOException::class)
        fun get(protocol: String): Protocol {
          // Unroll the loop over values() to save an allocation.
          @Suppress("DEPRECATION")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:33 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top