- Sort Score
- Num 10 results
- Language All
Results 1311 - 1320 of 2,828 for exception (0.21 seconds)
-
docs_src/dependencies/tutorial008d_an_py310.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("We don't swallow the internal error here, we raise again 😎") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 734 bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/time/DateFormatterFromBenchmark.java
@Benchmark public TemporalAccessor benchmarkFrom() { // benchmark an accessor that does not contain a timezone // this used to throw an exception earlier and thus was very very slow return DateFormatters.from(accessor); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Feb 03 00:10:53 GMT 2021 - 1.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/HMACT64.java
for (int i = length; i < BLOCK_LENGTH; i++) { ipad[i] = IPAD; opad[i] = OPAD; } try { md5 = MessageDigest.getInstance("MD5"); } catch (final Exception ex) { throw new IllegalStateException(ex.getMessage()); } engineReset(); } private HMACT64(final HMACT64 hmac) throws CloneNotSupportedException { super("HMACT64");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/FieldNotFoundRuntimeException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import java.lang.reflect.Field; /** * Exception thrown when a {@link Field} cannot be found. * * @author higa * */ public class FieldNotFoundRuntimeException extends ClRuntimeException {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
} } catch (final IOException e) { throw new SuggestSettingsException("Failed to create mappings."); } } /** * Load index settings. * @return Index settings * @throws IOException I/O exception */ protected String loadIndexSettings() throws IOException {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
// Reset should not throw exception assertDoesNotThrow(() -> transaction.reset()); // Transaction should be ready for reuse assertTrue(transaction.hasMoreElements()); } @Test @DisplayName("Test reset with key and lastName") void testResetWithKeyAndLastName() { // Reset with parameters should not throw exceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 09:30:17 GMT 2026 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
// ImmutableMap.Builder, so that it can remember any DuplicateKey encountered and produce an // exception for a later buildOrThrow(). If builder is null that means that a duplicate // key will lead to an immediate exception. If it is not null then a duplicate key will instead be // stored in the builder, which may use it to throw an exception later. static <K, V> RegularImmutableMap<K, V> create(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java
class DuplicateDependencyFixesTests { @Test @DisplayName("should remove duplicate dependencies in dependencyManagement") void shouldRemoveDuplicateDependenciesInDependencyManagement() throws Exception { String pomXml = """ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"> <modelVersion>4.0.0</modelVersion>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
import org.codelibs.curl.CurlRequest; import org.codelibs.curl.CurlResponse; import org.codelibs.fess.crawler.Constants; import org.codelibs.fess.exception.PluginException; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.ResourceUtil; import org.lastaflute.di.exception.IORuntimeException; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.SAXException;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Mar 04 15:19:41 GMT 2026 - 25.1K bytes - Click Count (0)