Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 1,976 for throws (0.04 seconds)

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

        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilder.java

        ModelBuilderSession newSession();
    
        interface ModelBuilderSession {
    
            ModelBuilderResult build(ModelBuilderRequest request) throws ModelBuilderException;
        }
    
        Model buildRawModel(ModelBuilderRequest request) throws ModelBuilderException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Aug 07 14:31:13 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/io/ByteStreams.java

       * @param len an int specifying the number of bytes to read.
       * @throws EOFException if this stream reaches the end before reading all the bytes.
       * @throws IOException if an I/O error occurs.
       */
      public static void readFully(InputStream in, byte[] b, int off, int len) throws IOException {
        int read = read(in, b, off, len);
        if (read != len) {
          throw new EOFException(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 31.1K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

        @Test
        void none() throws Exception {
            assertEquals("NONE;", runner(Map.of()));
        }
    
        @Test
        void generic() throws Exception {
            assertEquals(GenericCIDetector.NAME + ";", runner(Map.of("CI", "true")));
        }
    
        @Test
        void jenkins() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      final ImmutableSet<V> createValues() {
        throw new AssertionError("should never be called");
      }
    
      /**
       * Guaranteed to throw an exception and leave the bimap unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolverFactory.java

         *
         * @param type the type of conflict resolver to obtain
         * @return the conflict resolver
         * @throws ConflictResolverNotFoundException
         *          if the specified type was not found
         */
        ConflictResolver getConflictResolver(String type) throws ConflictResolverNotFoundException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Model
         */
        public Model read(Reader reader) throws IOException, XmlPullParserException {
            return read(reader, true);
        } // -- Model read( Reader )
    
        protected Model read(InputStream is, boolean strict, InputSource source)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

        public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository)
                throws ProjectBuildingException {
            return buildStandaloneSuperProject(localRepository, null);
        }
    
        @Override
        public MavenProject buildStandaloneSuperProject(ArtifactRepository localRepository, ProfileManager profileManager)
                throws ProjectBuildingException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java

         *
         * @param writer a writer object.
         * @param model a model object.
         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Model model) throws IOException {
            try {
                delegate.write(writer, model.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        } // -- void write( Writer, Model )
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        private final ServerSocket serverSocket;
    
        private MyServerExampleWithFrq() throws IOException {
          this.serverSocket = new ServerSocket(0);
        }
    
        static MyServerExampleWithFrq create(AtomicBoolean finalizeReferentRan) throws IOException {
          MyServerExampleWithFrq myServer = new MyServerExampleWithFrq();
          ServerSocket serverSocket = myServer.serverSocket;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top