Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,885 for Exception (0.09 sec)

  1. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        methodCalled = true;
        methodArgument = arg;
      }
    
      @Subscribe
      public void exceptionThrowingMethod(Object arg) throws Exception {
        throw new IntentionalException();
      }
    
      /** Local exception subclass to check variety of exception thrown. */
      class IntentionalException extends Exception {
    
        private static final long serialVersionUID = -2500191180248181379L;
      }
    
      @Subscribe
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

         * @return the password entered by the user
         * @throws PrompterException if an exception occurs
         */
        @Nonnull
        String promptForPassword(@Nullable String message) throws PrompterException;
    
        /**
         * Displays a message to the user.
         *
         * @param message the message to display
         * @throws PrompterException if an exception occurs
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class SqlDateConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final SqlDateConverter converter = new SqlDateConverter("yyyy/MM/dd");
            final java.sql.Date result = (java.sql.Date) converter.getAsObject("2008/01/16");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/FileUtilTest.java

        File inputFile = URLUtil.toFile(url);
    
        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile() throws Exception {
            final byte[] bytes = readBytes(inputFile);
            assertThat(bytes, is("あいうえお".getBytes("UTF-8")));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java

        private int expiredCount;
    
        protected void setUp() throws Exception {
            expiredCount = 0;
            TimeoutManager.getInstance().clear();
        }
    
        protected void tearDown() throws Exception {
            TimeoutManager.getInstance().clear();
        }
    
        /**
         * @throws Exception
         */
        public void testExpired() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
            } catch (IndexNotFoundException ignore) {
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

         *
         * @return The location of the problem, never {@code null}.
         */
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return The exception that caused this problem or {@code null} if not applicable.
         */
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Streams.java

        Exception exception = null;
        for (BaseStream<?, ?> stream : toClose) {
          try {
            stream.close();
          } catch (Exception e) { // sneaky checked exception
            if (exception == null) {
              exception = e;
            } else {
              exception.addSuppressed(e);
            }
          }
        }
        if (exception != null) {
          // Normally this is a RuntimeException that doesn't need sneakyThrow.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            return "updateCheckManager";
        }
    
        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            updateCheckManager = new DefaultUpdateCheckManager(new ConsoleLogger(Logger.LEVEL_DEBUG, "test"));
        }
    
        @Test
        void testArtifact() throws Exception {
            ArtifactRepository remoteRepository = remoteRepository();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

    import org.codelibs.fess.crawler.entity.RequestData;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top