Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 7,652 for throws (0.13 sec)

  1. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        try {
          stack.runTearDown();
          fail("runTearDown should have thrown an exception");
        } catch (ClusterException expected) {
          assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two");
        } catch (RuntimeException e) {
          throw new RuntimeException(
              "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e);
        }
    
        assertEquals(true, tearDownOne.ran);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SessionTest.java

                "smb31");
        }
    
    
        @Test
        public void logonUser () throws IOException {
            try ( SmbResource f = getDefaultShareRoot() ) {
                checkConnection(f);
                f.resolve("test").exists();
            }
        }
    
    
        @Test
        public void logonUserHash () throws IOException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ResolvedConfiguration.java

        /**
         * A resolve of a configuration that is not successful does not automatically throws an exception.
         * Such a exception is only thrown if the result of a resolve is accessed. You can force the throwing
         * of such an exception by calling this method.
         *
         * <p>This method does nothing when resolution was successful.</p>
         *
         * @throws ResolveException when the resolve was not successful.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResource.java

         * @throws ResourceException on failure to copy the content.
         */
        @Nullable
        ExternalResourceReadResult<Void> writeToIfPresent(File destination) throws ResourceException;
    
        /**
         * Copies the binary contents of this resource to the given stream. Does not close the provided stream.
         *
         * @throws ResourceException on failure to copy the content.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

      }
    
      public void testDefaultExecutorIsShutdownWhenServiceFails() throws Exception {
        final AtomicReference<ScheduledExecutorService> executor = Atomics.newReference();
        AbstractScheduledService service =
            new AbstractScheduledService() {
              @Override
              protected void startUp() throws Exception {
                throw new Exception("Failed");
              }
    
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

      }
    
      public void testDefaultExecutorIsShutdownWhenServiceFails() throws Exception {
        final AtomicReference<ScheduledExecutorService> executor = Atomics.newReference();
        AbstractScheduledService service =
            new AbstractScheduledService() {
              @Override
              protected void startUp() throws Exception {
                throw new Exception("Failed");
              }
    
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

         *
         * @throws IOException
         *             thrown by <tt>SmbFileInputStream</tt> constructor
         */
        @Override
        public InputStream getInputStream () throws IOException {
            return new SmbFileInputStream(this);
        }
    
    
        @Override
        public SmbFileInputStream openInputStream () throws SmbException {
            return new SmbFileInputStream(this);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  8. guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @deprecated unsupported operation
       * @throws UnsupportedOperationException always
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public B put(TypeToken<? extends B> key, B value) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 20:46:24 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbTransportPool.java

         * @param port
         * @param exclusive
         * @param forceSigning
         * @return a connected transport
         * @throws UnknownHostException
         * @throws IOException
         */
        SmbTransport getSmbTransport ( CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning )
                throws UnknownHostException, IOException;
    
    
        /**
         * Get transport connection
         * 
         * @param tc
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  10. android/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)
Back to top