Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 2,324 for exception (0.04 sec)

  1. 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)
  2. 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)
  3. 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
            Path jarPath = tempDir.resolve("test-theme.jar");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

     */
    @GwtCompatible
    @NullUnmarked
    public class TearDownStackTest extends TestCase {
    
      private final TearDownStack tearDownStack = new TearDownStack();
    
      public void testSingleTearDown() throws Exception {
        TearDownStack stack = buildTearDownStack();
    
        SimpleTearDown tearDown = new SimpleTearDown();
        stack.addTearDown(tearDown);
    
        assertEquals(false, tearDown.ran);
    
        stack.runTearDown();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. 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)
  8. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

     */
    package okhttp3.recipes;
    
    import java.io.File;
    import java.io.IOException;
    import okhttp3.Cache;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CacheResponse {
      private final OkHttpClient client;
    
      public CacheResponse(File cacheDirectory) throws Exception {
        int cacheSize = 10 * 1024 * 1024; // 10 MiB
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

                    final byte[] buf = new byte[1024];
                    while ((is.read(buf)) != -1) {}
                } catch (final Exception ignored) {} finally {
                    try {
                        is.close();
                    } catch (final Exception ignored) {}
                }
            } catch (final Exception ignored) {}
        }
    
        protected void handleFileUploadException(final FileUploadException e) throws ServletException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

              break;
            case EXCEPTION_DATA:
              throw EXCEPTION;
          }
          return outputFuture;
        }
      }
    
      public void testFutureGetThrowsFunctionException() throws Exception {
        inputFuture.set(EXCEPTION_DATA);
        listener.assertException(EXCEPTION);
      }
    
      public void testFutureGetThrowsCancellationIfInputCancelled() throws Exception {
        inputFuture.cancel(true); // argument is ignored
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top