Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 5,466 for throws (0.15 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/AbstractModuleDescriptorParser.java

            } catch (MetaDataParseException e) {
                throw e;
            } catch (Exception e) {
                throw new MetaDataParseException(getTypeName(), resource, e);
            }
        }
    
        protected abstract String getTypeName();
    
        protected abstract ParseResult<T> doParseDescriptor(DescriptorParseContext ivySettings, LocallyAvailableExternalResource resource, boolean validate) throws Exception;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/AbstractAuthenticationSupportedRepositoryTest.groovy

        }
    
        def "get credentials throws ISE if not using password credentials"() {
            when:
            repo().with {
                credentials(AwsCredentials, {})
                credentials
            }
    
            then:
            thrown IllegalStateException
        }
    
        def "credentials(Action) throws ISE if not using password credentials"() {
            when:
            repo().with {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     * with it.
     *
     * @throws IOException if a network error occurs
     */
    
        public void close() throws IOException {
            file.close();
            tmp = null;
        }
    
    /**
     * Writes the specified byte to this file output stream.
     *
     * @throws IOException if a network error occurs
     */
    
        public void write( int b ) throws IOException {
            tmp[0] = (byte)b;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java

            return inputStream.readInt();
        }
    
        @Override
        public short readShort() throws EOFException, IOException {
            return inputStream.readShort();
        }
    
        @Override
        public float readFloat() throws EOFException, IOException {
            return inputStream.readFloat();
        }
    
        @Override
        public double readDouble() throws EOFException, IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/FileBackedOutputStream.java

        update(len);
        out.write(b, off, len);
      }
    
      @Override
      public synchronized void close() throws IOException {
        out.close();
      }
    
      @Override
      public synchronized void flush() throws IOException {
        out.flush();
      }
    
      /**
       * Checks if writing {@code len} bytes would go over threshold, and switches to file buffering if
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/settings/MavenSettingsBuilder.java

        Settings buildSettings(MavenExecutionRequest request) throws IOException, XmlPullParserException;
    
        /**
         * @return a <code>Settings</code> object from the user settings file.
         * @throws IOException if any
         * @throws XmlPullParserException if any
         */
        Settings buildSettings() throws IOException, XmlPullParserException;
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Encoder.java

         */
        void writeByte(byte value) throws IOException;
    
        /**
         * Writes the given raw bytes to the stream. Does not encode any length information.
         */
        void writeBytes(byte[] bytes) throws IOException;
    
        /**
         * Writes the given raw bytes to the stream. Does not encode any length information.
         */
        void writeBytes(byte[] bytes, int offset, int count) throws IOException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionReplacingObjectInputStream.java

        protected final Object resolveObject(Object obj) throws IOException {
            return getObjectTransformer().transform(obj);
        }
    
        protected Object doResolveObject(Object obj) throws IOException {
            if (obj instanceof TopLevelExceptionPlaceholder) {
                return ((ExceptionPlaceholder) obj).read(getClassNameTransformer(), getObjectInputStreamCreator());
            }
            return obj;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/AbstractTaskOutputPackagingBenchmark.java

        }
    
        @TearDown(Level.Trial)
        public void tearDownTrial() throws IOException {
            DIRECTORY_PROVIDER.tearDownTrial();
        }
    
        @Setup(Level.Iteration)
        public void setupIteration() throws IOException {
            DIRECTORY_PROVIDER.setupIteration();
        }
    
        @TearDown(Level.Iteration)
        public void tearDownIteration() throws IOException {
            DIRECTORY_PROVIDER.tearDownIteration();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java

     *
     */
    public class ByteConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToByte() throws Exception {
            assertEquals(new Byte("100"), ByteConversionUtil.toByte("100"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveByte() throws Exception {
            assertEquals(100, ByteConversionUtil.toPrimitiveByte("100"));
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top