Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,131 for throws (0.48 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

         *
         * @throws Exception if any.
         */
        @Test
        public void testDotDot() throws Exception {
            assertNull(ReflectionValueExtractor.evaluate("h..value", new ValueHolder("value")));
        }
    
        /**
         * <p>testBadIndexedSyntax.</p>
         *
         * @throws Exception if any.
         */
        @Test
        public void testBadIndexedSyntax() throws Exception {
            List<Object> list = new ArrayList<Object>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

         * @param wagon
         * @param repository
         *
         * @throws ConnectionException
         * @throws AuthenticationException
         */
        private void connectWagon(Wagon wagon, ArtifactRepository repository)
                throws ConnectionException, AuthenticationException {
            // MNG-5509
            // See org.eclipse.aether.connector.wagon.WagonRepositoryConnector.connectWagon(Wagon)
            if (legacySupport.getRepositorySession() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closer.java

       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       */
      public RuntimeException rethrow(Throwable e) throws IOException {
        checkNotNull(e);
        thrown = e;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      public void testScanFromFile_notJarFile() throws IOException {
        ClassLoader classLoader = ClassPathTest.class.getClassLoader();
        File notJar = File.createTempFile("not_a_jar", "txt");
        try {
          assertThat(new ClassPath.LocationInfo(notJar, classLoader).scanResources()).isEmpty();
        } finally {
          notJar.delete();
        }
      }
    
      public void testGetClassPathEntry() throws MalformedURLException, URISyntaxException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        @Nonnull
        Collection<String> getChecksumAlgorithmNames();
    
        /**
         * Returns {@link ChecksumAlgorithm} for given algorithm name, or throws if algorithm not supported.
         *
         * @throws ChecksumAlgorithmServiceException if asked algorithm name is not supported.
         * @throws NullPointerException if passed in name is {@code null}.
         */
        @Nonnull
        ChecksumAlgorithm select(@Nonnull String algorithmName);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

         * @param writer a writer object.
         * @param settings a settings object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Settings settings) throws IOException {
            try {
                delegate.write(writer, settings.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        }
    
        /**
         * Method write.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/ProjectDependenciesResolver.java

         * @throws ArtifactResolutionException in case of resolution issue
         * @throws ArtifactNotFoundException if an artifact is not found
         */
        Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      }
    
      public void testSuccessful() throws Exception {
        assertThat(future.set(1)).isTrue();
        assertSuccessful(future, 1);
      }
    
      public void testFailed() throws Exception {
        Exception cause = new Exception();
        assertThat(future.setException(cause)).isTrue();
        assertFailed(future, cause);
      }
    
      public void testCanceled() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       * @return all the constraints implicitly or explicitly required by the class or any of its
       *     superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
          throws ConflictingRequirementsException {
        synchronized (classTesterRequirementsCache) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

         * @throws XmlPullParserException XmlPullParserException if
         *                                any.
         */
        public Metadata read(InputStream in) throws IOException, XmlPullParserException {
            try {
                return new Metadata(delegate.read(in));
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top