Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 2,174 for Exception (0.04 sec)

  1. src/main/java/org/codelibs/fess/exception/ScheduledJobException.java

     */
    package org.codelibs.fess.exception;
    
    /**
     * This exception is thrown when a scheduled job fails.
     */
    public class ScheduledJobException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
         * @param message Exception message.
         * @param cause Root cause for this exception.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (1)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

        }
    
        /**
         * Attempt to reconnect a handle
         * @param path the file path
         * @param cause the original exception that triggered reconnection
         * @return a future that completes with the reconnected handle info or fails
         */
        public CompletableFuture<HandleInfo> reconnectHandle(String path, Exception cause) {
            HandleInfo info = handleManager.getHandleForReconnect(path);
    
            if (info == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/exception/WebApiException.java

     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when web API operations encounter errors.
     * This exception includes an HTTP status code to indicate the nature of the error.
     */
    public class WebApiException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The HTTP status code associated with this exception.
         */
        private final int statusCode;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                String result = themeHelper.getThemeName(artifact);
                // May not throw exception but return unexpected result
                assertNotNull(result);
            } catch (Exception e) {
                assertTrue(true); // Expected exception
            }
        }
    
        public void test_getJarFile_exists() throws IOException {
            // Create a mock jar file
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

        @Mock
        SmbFileHandleImpl handle;
    
        @Mock
        SmbTreeHandleImpl tree;
    
        // Prepare SMB2 flow with a given response
        private void setupSmb2(NotifyResponse resp, byte[] fileId) throws Exception {
            when(handle.isValid()).thenReturn(true);
            when(handle.getTree()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
            when(tree.getConfig()).thenReturn(mock(Configuration.class));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/transport/TransportException.java

    package jcifs.smb1.util.transport;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    
    /**
     * Exception thrown when transport-level errors occur in JCIFS SMB communication.
     */
    public class TransportException extends IOException {
    
        /** The root cause exception */
        private Throwable rootCause;
    
        /**
         * Constructs a new TransportException with no detail message.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

            final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge"));
            assertThat(ex.getMessageCode(), is("ECL0001"));
            assertThat(ex.getArgs().length, is(1));
            assertThat(ex.getArgs()[0], is((Object) "hoge"));
            System.out.println(ex.getMessage());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetCause() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/net/URLUtilTest.java

     *
     */
    public class URLUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
            assertEquals("Program+Files", URLUtil.encode("Program Files", "UTF-8"));
        }
    
        /**
         * @throws Exception
         */
        public void testDecode() throws Exception {
            assertEquals("Program Files", URLUtil.decode("Program+Files", "UTF-8"));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/CurlRequest.java

         *
         * @param actionListener the action listener for handling the response
         * @param exceptionListener the exception listener for handling exceptions
         */
        public void connect(final Consumer<HttpURLConnection> actionListener, final Consumer<Exception> exceptionListener) {
            final Runnable task = () -> {
                if (paramList != null) {
                    char sp;
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top