- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,327 for Exceptions (0.1 sec)
-
android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java
* the License. */ package com.google.common.eventbus; /** * Handler for exceptions thrown by event subscribers. * * @since 16.0 */ public interface SubscriberExceptionHandler { /** Handles exceptions thrown by subscribers. */ void handleException(Throwable exception, SubscriberExceptionContext context);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 894 bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginResolutionException.java
this.plugin = plugin; } public PluginResolutionException(Plugin plugin, List<Exception> exceptions, Throwable cause) { super( "Plugin " + plugin.getId() + " or one of its dependencies could not be resolved:" + System.lineSeparator() + "\t" + exceptions.stream() .map(Throwable::getMessage)Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
assertNotNull(exception); assertNull(exception.getCause()); assertNull(exception.getMessage()); } /** * Test constructor with various cause types */ public void test_constructor_withVariousCauseTypes() { // With Exception cause Exception exceptionCause = new Exception("Exception cause");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
return this; } @Override public List<Throwable> getExceptions() { return exceptions; } @Override public MavenExecutionResult addException(Throwable t) { exceptions.add(t); return this; } @Override public boolean hasExceptions() { return !getExceptions().isEmpty(); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java
List<Exception> exceptions = result.getResolutionErrors(dependency); for (Exception e : exceptions) { msg.append("\t").append(e.getMessage()).append(System.lineSeparator()); } } for (Exception exception : result.getCollectionErrors()) { msg.append(exception.getMessage()).append(System.lineSeparator());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 10:13:56 UTC 2025 - 2.6K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
assertNotNull(context, "Context should be created"); assertNotNull(context.options(), "Options should be available"); // Test that icon methods don't throw exceptions // (The actual icon choice depends on terminal charset capabilities) context.success("Test success message"); context.failure("Test failure message"); context.warning("Test warning message");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Jul 15 09:35:08 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* <p><b>Warning:</b> this method silently converts checked exceptions to unchecked exceptions, * and should not be used with cache loaders which throw checked exceptions. In such cases use * {@link #get} instead. * * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As * explained in the last paragraph above, this should be an unchecked exception only.)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 8.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
conn.connect(); successCount.incrementAndGet(); } catch (Exception e) { synchronized (exceptions) { exceptions.add(e); } failureCount.incrementAndGet(); } finally { doneLatch.countDown(); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
docs_src/handling_errors/tutorial004_py39.py
from fastapi import FastAPI, HTTPException from fastapi.exceptions import RequestValidationError from fastapi.responses import PlainTextResponse from starlette.exceptions import HTTPException as StarletteHTTPException app = FastAPI() @app.exception_handler(StarletteHTTPException) async def http_exception_handler(request, exc): return PlainTextResponse(str(exc.detail), status_code=exc.status_code)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 920 bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
@Experimental public interface VersionRangeResolverResult extends Result<VersionRangeResolverRequest> { /** * Gets the exceptions that occurred while resolving the version range. * * @return The list of exceptions that occurred during resolution, never {@code null} */ @Nonnull List<Exception> getExceptions(); /** * Gets the versions (in ascending order) that matched the requested range. *
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 3.4K bytes - Viewed (0)