Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,047 for throws (0.07 sec)

  1. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        public void tearDown() throws IOException {}
      }
    
      private static class EmptyCharSourceFactory implements CharSourceFactory {
    
        @Override
        public CharSource createSource(String data) throws IOException {
          return CharSource.empty();
        }
    
        @Override
        public String getExpected(String data) {
          return "";
        }
    
        @Override
        public void tearDown() throws IOException {}
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

            }
    
            public Object evaluate(String expression, Class<?> type) throws ExpressionEvaluationException {
                if (preprocessor != null) {
                    try {
                        return preprocessor.preprocessValue(expression, type);
                    } catch (BeanConfigurationException e) {
                        throw new ExpressionEvaluationException(e.getMessage(), e);
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    Constants.MAVEN_HOME, invokerRequest.installationDirectory().toString());
        }
    
        protected void validate(C context) throws Exception {}
    
        protected void prepare(C context) throws Exception {}
    
        protected void configureLogging(C context) throws Exception {
            R invokerRequest = context.invokerRequest;
            // LOG COLOR
            Options mavenOptions = invokerRequest.options();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

         */
        public static PluginDescriptor fromXml(@Nonnull String xml) throws XmlReaderException {
            return new DefaultPluginXmlFactory().fromXmlString(xml);
        }
    
        /**
         * Simply converts the given content to an xml string.
         *
         * @param content the object to convert
         * @return the xml string representation
         * @throws XmlWriterException if an error occurs during the transformation
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

         * @return {@link ResultSet}
         * @throws SQLRuntimeException
         *             {@link SQLException}が発生した場合
         */
        public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException {
            assertArgumentNotNull("ps", ps);
    
            try {
                return ps.executeQuery();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

     *
     */
    public class ShortConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToShort() throws Exception {
            assertEquals(new Short("1000"), ShortConversionUtil.toShort("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveShort() throws Exception {
            assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000"));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top