Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 2,742 for throws (0.09 sec)

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

     */
    @AndroidIncompatible // Finalization probably just doesn't happen fast enough?
    public class FileBackedOutputStreamAndroidIncompatibleTest extends IoTestCase {
    
      public void testFinalizeDeletesFile() throws Exception {
        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        final File file = out.getFile();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 08 21:20:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java

            super(parent, delegate, filter);
        }
    
    
        /**
         * @param fe
         * @return
         * @throws MalformedURLException
         */
        @Override
        protected SmbResource adapt ( FileEntry e ) throws MalformedURLException {
            return new SmbFile(getParent(), e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L, 0L, 0L);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java

    import java.lang.reflect.Method;
    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class AnnotationUtilTest {
    
        /**
         * @throws Exception
         */
        @Hoge(bbb = "3")
        @Test
        public void testGetProperties() throws Exception {
            final Method m = ClassUtil.getMethod(getClass(), "testGetProperties");
            final Annotation anno = m.getAnnotation(Hoge.class);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

            super.transferInitiated(event);
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            overridePreviousTransfer(event);
    
            super.transferCorrupted(event);
        }
    
        @Override
        public void transferProgressed(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
            transfers.put(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

        }
      }
    
      /**
       * Checks if the executor has been shut down and increments the running task count.
       *
       * @throws RejectedExecutionException if the executor has been previously shutdown
       */
      private void startTask() {
        synchronized (lock) {
          if (shutdown) {
            throw new RejectedExecutionException("Executor already shutdown");
          }
          runningTasks++;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

            return 0;
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @throws Smb2ProtocolDecodingException
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
         */
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

       *
       * @return a new, empty map instance.
       * @throws UnsupportedOperationException if it's not possible to make an empty instance of the
       *     class under test.
       */
      protected abstract Map<K, V> makeEmptyMap() throws UnsupportedOperationException;
    
      /**
       * Creates a new, non-empty instance of the class under test.
       *
       * @return a new, non-empty map instance.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/FluentFuture.java

        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get() throws InterruptedException, ExecutionException {
          return super.get();
        }
    
        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get(long timeout, TimeUnit unit)
            throws InterruptedException, ExecutionException, TimeoutException {
          return super.get(timeout, unit);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        void setAvailableVersions(List<ArtifactVersion> versions);
    
        boolean isOptional();
    
        void setOptional(boolean optional);
    
        ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException;
    
        boolean isSelectedVersionKnown() throws OverConstrainedVersionException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top