Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 7,652 for throws (0.19 sec)

  1. 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)
  2. guava/src/com/google/common/util/concurrent/Service.java

       *
       * @param timeout the maximum time to wait
       * @throws TimeoutException if the service has not reached the given state within the deadline
       * @throws IllegalStateException if the service {@linkplain State#FAILED fails}.
       * @since 28.0
       */
      default void awaitTerminated(Duration timeout) throws TimeoutException {
        awaitTerminated(toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testIsExist() throws Exception {
            assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties"));
            assertEquals("2", false, ResourceUtil.isExist("hoge"));
        }
    
        /**
         * @throws Exception
         */
        public void testGetExtension() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

            assertThat(toSqlDateJdbcEscape(null), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToSqlDate_EmptyString() throws Exception {
            assertThat(toSqlDateJdbcEscape(""), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToSqlDate_ShortStyle() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

        }
      }
    
      @Throws(IOException::class)
      fun flush() {
        this.withLock {
          if (closed) throw IOException("closed")
          sink.flush()
        }
      }
    
      @Throws(IOException::class)
      fun rstStream(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        this.withLock {
          if (closed) throw IOException("closed")
          require(errorCode.httpCode != -1)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

    public class MessageFormatterTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessage() throws Exception {
            final String s = MessageFormatter.getMessage("EMSG0000");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar

    .configuration.PlexusConfiguration); public void initialize() throws exception.ComponentRepositoryE; public void initializeComponentD() throws exception.ComponentRepositoryE; private void initializeComponentD() throws exception.ComponentRepositoryE; public void addComponentDescript(org.codehaus.plexus.configuration.PlexusConfiguration) throws exception.ComponentRepositoryE; public void addComponentDescript(ComponentDescriptor) throws exception.ComponentRepositoryE; public void validateComponentD...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 205.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testIndexOf_character() throws Exception {
            final char[] array = new char[] { 'a', 'b', 'c' };
            assertThat(ArrayUtil.indexOf(array, 'a'), is(0));
            assertThat(ArrayUtil.indexOf(array, 'd'), is(-1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemoveFirst() throws Exception {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        return new Callable<T>() {
          @Override
          public T call() throws Exception {
            throw exception;
          }
        };
      }
    
      private static Runnable runnableThrowing(final RuntimeException e) {
        return new Runnable() {
          @Override
          public void run() {
            throw e;
          }
        };
      }
    
      @SuppressWarnings("serial")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    cdsect(String) throws java.io.IOException; public void entityRef(String) throws java.io.IOException; public void processingInstructio(String) throws java.io.IOException; public void comment(String) throws java.io.IOException; public void docdecl(String) throws java.io.IOException; public void ignorableWhitespace(String) throws java.io.IOException; public void flush() throws java.io.IOException; protected void writeAttributeValue(String, java.io.Writer) throws java.io.IOException; protected void writeEl...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 164.6K bytes
    - Viewed (0)
Back to top