Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,436 for exception (0.08 sec)

  1. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

          }
        }
        while (!buffer.exhausted()) {
          val exception = buffer.readUtf8LineStrict()
          assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(exception)).isEqualTo(
            exception,
          )
          val test = "foobar.$exception"
          assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(test)).isEqualTo(exception)
        }
      }
    
      @Test fun threadIsInterruptedOnFirstRead() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LoadingCache.java

       * <p><b>Warning:</b> this method silently converts checked exceptions to unchecked exceptions,
       * and should not be used with cache loaders which throw checked exceptions. In such cases use
       * {@link #get} instead.
       *
       * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As
       *     explained in the last paragraph above, this should be an unchecked exception only.)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/ModifierUtilTest.java

        /**
         * @throws Exception
         */
        public void testIsPublic() throws Exception {
            final Field f = Hoge.class.getDeclaredField("s");
            assertTrue(ModifierUtil.isPublicStaticFinalField(f));
            final Method m = Hoge.class.getDeclaredMethod("hoge", new Class[] {});
            assertTrue(ModifierUtil.isPublic(m));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

      }
    
      public void testSetFailure() throws Exception {
        assertTrue(future.setException(new Exception("failure")));
        tester.testFailedFuture("failure");
      }
    
      public void testSetFailureNull() throws Exception {
        assertThrows(NullPointerException.class, () -> future.setException(null));
        assertFalse(future.isDone());
        assertTrue(future.setException(new Exception("failure")));
        tester.testFailedFuture("failure");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            String reference = "";
            if (!dejaVu.add(exception)) {
                return reference;
            }
    
            if (exception != null) {
                if (exception instanceof MojoExecutionException) {
                    reference = MojoExecutionException.class.getSimpleName();
    
                    Throwable cause = exception.getCause();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     * ExecutionException}, the exception's {@linkplain #getCause() cause} comes from a failed task,
     * possibly run in another thread.
     *
     * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code
     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

    import java.io.File;
    import java.io.IOException;
    import java.util.Map;
    
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.entity.AccessResultDataImpl;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.entity.ResultData;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top