Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,967 for throws (0.35 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/BaseSerializerFactory.java

                encoder.writeString(value.toString());
            }
        }
    
        private static class ByteArraySerializer extends AbstractSerializer<byte[]> {
            @Override
            public byte[] read(Decoder decoder) throws Exception {
                return decoder.readBinary();
            }
    
            @Override
            public void write(Encoder encoder, byte[] value) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

        private Artifact projectArtifact;
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected DefaultRepositorySystemSession initRepoSession() throws Exception {
            DefaultRepositorySystemSession session = super.initRepoSession();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/MoreFiles.java

       *
       * @throws NoSuchFileException if the file does not exist <i>(optional specific exception)</i>
       * @throws NotDirectoryException if the file could not be opened because it is not a directory
       *     <i>(optional specific exception)</i>
       * @throws IOException if an I/O error occurs
       */
      public static ImmutableList<Path> listFiles(Path dir) throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.length);
                _dst.enc_ndr_short(this.impersonation_level);
                _dst.enc_ndr_small(this.context_mode);
                _dst.enc_ndr_small(this.effective_only);
    
            }
    
    
            @Override
            public void decode ( NdrBuffer _src ) throws NdrException {
                _src.align(4);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/EvaluationContext.java

         * If the owner is already being evaluated, throws {@link CircularEvaluationException}.
         *
         * @param owner the object to evaluate
         * @param evaluation the evaluation
         * @param <R> the type of the result
         * @param <E> (optional) exception type being thrown by the evaluation
         * @return the result of the evaluation
         * @throws E exception from the {@code evaluation} is propagated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

        }
    
        protected void createLocalArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, localRepository());
        }
    
        protected void createRemoteArtifact(Artifact artifact) throws Exception {
            createArtifact(artifact, remoteRepository());
        }
    
        protected void createArtifact(Artifact artifact, ArtifactRepository repository) throws Exception {
            String path = repository.pathOf(artifact);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. 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(Charsets.UTF_8).asByteSource(Charsets.UTF_8));
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/GroovyFileInterceptors.java

        ) throws IOException {
            return Instrumented.groovyFileGetText(self, consumer);
        }
    
        @InterceptGroovyCalls
        @InstanceMethod
        @WithExtensionReferences(toClass = ResourceGroovyMethods.class)
        public static String intercept_getText(
            @Receiver File self,
            String charset,
            @CallerClassName String consumer
        ) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:57:56 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/DefaultCallSiteDecorator.java

            public Object call(Object receiver, Object[] args) throws Throwable {
                CallInterceptor interceptor = resolveCallInterceptor(InterceptScope.methodsNamed(getName()));
                if (interceptor != null) {
                    return interceptor.intercept(new AbstractInvocation<Object>(receiver, args) {
                        @Override
                        public Object callOriginal() throws Throwable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top