Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 2,324 for exception (0.06 sec)

  1. src/test/java/jcifs/internal/RequestTest.java

            public void setExpiration(Long exp) {
                this.expiration = exp;
            }
    
            @Override
            public Exception getException() {
                return exception;
            }
    
            @Override
            public void exception(Exception e) {
                this.exception = e;
            }
    
            // Methods from Message interface
            @Override
            public void retainPayload() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

        @Inject
        PlexusContainer container;
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
        @Test
        void testShouldActivateDefaultProfile() throws Exception {
            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

     */
    @org.junit.jupiter.api.extension.ExtendWith(MockitoExtension.class)
    class Trans2GetDfsReferralTest {
    
        private static Object getPrivateField(Object target, String fieldName) throws Exception {
            Class<?> clazz = target.getClass();
            while (clazz != null) {
                try {
                    Field f = clazz.getDeclaredField(fieldName);
                    f.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                assertFalse(response.isReceived()); // Should not be marked as received
            }
    
            @Test
            @DisplayName("Should handle exception")
            void testException() {
                Exception testException = new Exception("Test exception");
    
                response.exception(testException);
    
                assertTrue(response.isError());
                assertTrue(response.isReceived());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

     */
    package org.codelibs.fess.helper;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.List;
    
    import org.codelibs.core.io.InputStreamUtil;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.FessSystemException;
    import org.codelibs.fess.exception.PluginException;
    import org.codelibs.fess.helper.PluginHelper.Artifact;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/lang/ThreadUtilTest.java

     *
     */
    public class ThreadUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test_sleep() throws Exception {
            ThreadUtil.sleep(1L);
            assertTrue(true);
            ThreadUtil.sleepQuietly(1L);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test_sleepQuietly() throws Exception {
            ThreadUtil.sleepQuietly(1L);
            assertTrue(true);
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

        /**
         * Do not instantiate.
         */
        protected ResultSetUtil() {
        }
    
        /**
         * Closes the result set.
         * <p>
         * If {@link ResultSet#close()} throws an exception, an error message is logged. The exception is not rethrown.
         * </p>
         *
         * @param resultSet
         *            The result set
         */
        public static void close(final ResultSet resultSet) {
            if (resultSet == null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

          try {
            logger
                .get()
                .log(
                    SEVERE,
                    String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", t),
                    e);
          } catch (Throwable errorInLogging) { // sneaky checked exception
            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/TraverserTest.java

      public void forGraph_breadthFirst_tree() throws Exception {
        Traverser<Character> traverser = Traverser.forGraph(TREE);
    
        assertEqualCharNodes(traverser.breadthFirst('h'), "hdegabcf");
        assertEqualCharNodes(traverser.breadthFirst('d'), "dabc");
        assertEqualCharNodes(traverser.breadthFirst('a'), "a");
      }
    
      @Test
      public void forGraph_breadthFirstIterable_tree() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/TraverserTest.java

      public void forGraph_breadthFirst_tree() throws Exception {
        Traverser<Character> traverser = Traverser.forGraph(TREE);
    
        assertEqualCharNodes(traverser.breadthFirst('h'), "hdegabcf");
        assertEqualCharNodes(traverser.breadthFirst('d'), "dabc");
        assertEqualCharNodes(traverser.breadthFirst('a'), "a");
      }
    
      @Test
      public void forGraph_breadthFirstIterable_tree() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 47.5K bytes
    - Viewed (2)
Back to top