Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 1,651 for Exceptions (0.07 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      /**
       * Guaranteed to throw an exception and leave the list unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.util.List;
    import java.util.Map;
    import java.util.function.Consumer;
    
    import org.apache.commons.text.StringEscapeUtils;
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.web.api.ApiResult;
    import org.codelibs.fess.app.web.api.ApiResult.ApiBackupFilesResponse;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

                  "reflect",
                  "util.concurrent",
                  "xml")
              .transform("com.google.common."::concat)
              .toSet();
    
      public void testClassesHaveOverrides() throws Exception {
        for (ClassInfo info : ClassPath.from(getClass().getClassLoader()).getAllClasses()) {
          if (!GUAVA_PACKAGES.contains(info.getPackageName())) {
            continue;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.exception.ThemeException;
    import org.codelibs.fess.helper.PluginHelper.Artifact;
    import org.codelibs.fess.helper.PluginHelper.ArtifactType;
    import org.codelibs.fess.util.ResourceUtil;
    
    public class ThemeHelper {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

    import org.apache.lucene.search.PhraseQuery;
    import org.apache.lucene.search.Query;
    import org.apache.lucene.search.TermQuery;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.exception.QueryParseException;
    import org.lastaflute.web.util.LaRequestUtil;
    
    import jakarta.annotation.PostConstruct;
    
    public class QueryParser {
    
        protected String defaultField = Constants.DEFAULT_FIELD;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/middleware.md

    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly.
    
    For that, you use `app.add_middleware()` (as in the example for CORS).
    
    ```Python
    from fastapi import FastAPI
    from unicorn import UnicornMiddleware
    
    app = FastAPI()
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:45:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      TestLogHandler logHandler;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        logHandler = new TestLogHandler();
        LocalCache.logger.addHandler(logHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        LocalCache.logger.removeHandler(logHandler);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      TestLogHandler logHandler;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        logHandler = new TestLogHandler();
        LocalCache.logger.addHandler(logHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        LocalCache.logger.removeHandler(logHandler);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

                try {
                    jobLogService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e)));
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        }
    
        public void test_getUsedMemory() {
            assertTrue(MemoryUtil.getUsedMemory() >= 0);
        }
    
        public void test_sizeOf() throws Exception {
            // System.out.println("size: " + getObjectSize(""));
            assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top