Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 2,436 for exception (0.12 sec)

  1. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        Range<K> firstRange = ranges.get(0);
        Range<K> lastRange = ranges.get(ranges.size() - 1);
        return Range.create(firstRange.lowerBound, lastRange.upperBound);
      }
    
      /**
       * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial008c.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 660 bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/BaseCIFSTest.java

        }
    
    
        @Before
        public void setUp () throws Exception {
            Properties props = new Properties();
            props.putAll(this.properties);
            this.context = AllTests.getCachedContext(this.name, props);
        }
    
    
        @After
        public void tearDown () throws Exception {
            System.gc();
            System.gc();
            System.runFinalization();
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/BiMap.java

      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the given value is already bound to a different key in this
       *     bimap. The bimap will remain unmodified in this event. To avoid this exception, call {@link
       *     #forcePut} instead.
       */
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      V put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class CrawlingInfoHelperTest extends UnitFessTestCase {
        private CrawlingInfoHelper crawlingInfoHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            crawlingInfoHelper = new CrawlingInfoHelper();
        }
    
        public void test_generateId() {
            final Map<String, Object> dataMap = new HashMap<String, Object>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

     */
    package org.codelibs.fess.util;
    
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.function.Function;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.es.client.SearchEngineClient;
    import org.lastaflute.di.exception.IORuntimeException;
    import org.opensearch.core.xcontent.MediaType;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                        + ((ByteArrayOutputStream) out2).toString(CoreLibConstants.UTF_8);
            } catch (final IOException e) {
                throw new SuggesterException(e);
            }
        }
    
        private static OutputStream getXContentOutputStream(final Map<String, Object> firstLineMap) throws IOException {
            try (XContentBuilder builder = JsonXContent.contentBuilder().map(firstLineMap)) {
                builder.flush();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/IORuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.io.IOException;
    
    /**
     * {@link IOException}をラップする例倖です。
     *
     * @author higa
     */
    public class IORuntimeException extends ClRuntimeException {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.codelibs.fess.crawler.entity.ExtractData;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.extractor.ExtractorFactory;
    import org.codelibs.fess.crawler.helper.impl.MimeTypeHelperImpl;
    import org.dbflute.utflute.core.PlainTestCase;
    import org.slf4j.Logger;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial008c_an_py39.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 700 bytes
    - Viewed (0)
Back to top