Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for throwable (1.46 sec)

  1. src/main/java/org/codelibs/core/log/Logger.java

        }
    
        /**
         * Outputs a log entry.
         *
         * @param throwable
         *            Exception. Must not be {@literal null}.
         */
        public void log(final Throwable throwable) {
            assertArgumentNotNull("throwable", throwable);
    
            error(throwable.getMessage(), throwable);
        }
    
        /**
         * Outputs a log entry.
         *
         * @param messageCode
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

        }
    
        /**
         * Processes system error log events.
         *
         * @param objs the log objects (should contain a Throwable)
         */
        protected void processSystemError(final Object... objs) {
            final Throwable t = (Throwable) objs[0];
            if (logger.isErrorEnabled()) {
                logger.error("System Error.", t);
            }
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            verify(mockDelegate).withGuestCrendentials();
        }
    
        @Test
        void testRenewCredentials_True() {
            // Test renewCredentials(String locationHint, Throwable error) method when true
            String locationHint = "testLocation";
            Throwable error = new RuntimeException("testError");
            when(mockDelegate.renewCredentials(locationHint, error)).thenReturn(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            try {
                client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
                fail();
            } catch (final MultipleCrawlingAccessException e) {
                // ok
                final Throwable[] causes = e.getCauses();
                assertEquals(5, causes.length);
            }
            assertEquals(1, testListener.startCount);
            assertEquals(5, testListener.requestCount);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        @DisplayName("Should create RuntimeCIFSException with cause")
        void testConstructorWithCause() {
            // Given
            Throwable cause = new IllegalArgumentException("Invalid argument");
    
            // When
            RuntimeCIFSException exception = new RuntimeCIFSException(cause);
    
            // Then
            assertNotNull(exception);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbOperationException.java

                }
            }
            return "unknown";
        }
    
        private long extractNtStatus(Throwable cause) {
            if (cause instanceof SmbException) {
                return ((SmbException) cause).getNtStatus();
            }
            return 0;
        }
    
        private String extractServerMessage(Throwable cause) {
            if (cause instanceof SmbException) {
                // Try to get server message from SMB exception
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertTrue(exception instanceof RuntimeException);
    
            // Should be instance of Exception
            assertTrue(exception instanceof Exception);
    
            // Should be instance of Throwable
            assertTrue(exception instanceof Throwable);
    
            // Should not require try-catch (unchecked exception)
            throwUnchecked(); // This compiles without try-catch
        }
    
        private void throwUnchecked() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            threadPool.execute(() -> {
                final long start = System.currentTimeMillis();
                int numberOfSuggestDocs = 0;
                int numberOfInputDocs = 0;
                final List<Throwable> errors = new ArrayList<>();
    
                final List<QueryLog> queryLogs = new ArrayList<>(docPerReq);
                try {
                    QueryLog queryLog = queryLogReader.read();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                if (hasReadMethod()) {
                    return MethodUtil.invoke(readMethod, target, EMPTY_ARGS);
                }
                return FieldUtil.get(field, target);
            } catch (final Throwable t) {
                throw new IllegalPropertyRuntimeException(beanDesc.getBeanClass(), propertyName, t);
            }
        }
    
        @Override
        public void setValue(final Object target, final Object value) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        }
    
        /**
         * Builds a comprehensive error message from a throwable and its causes.
         * This method traverses the cause chain and concatenates all error messages.
         *
         * @param t the throwable to build message from
         * @return a string containing all error messages in the cause chain
         */
        protected String buildThrowableMessage(final Throwable t) {
            final StringBuilder buf = new StringBuilder(100);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top