- Sort Score
- Result 10 results
- Languages All
Results 751 - 760 of 1,885 for Exception (0.14 sec)
-
guava-tests/test/com/google/common/base/PreconditionsTest.java
return "A message"; } } private static final String FORMAT = "I ate %s pies."; private static void verifySimpleMessage(Exception e) { assertThat(e).hasMessageThat().isEqualTo("A message"); } private static void verifyComplexMessage(Exception e) { assertThat(e).hasMessageThat().isEqualTo("I ate 5 pies."); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 19K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
@Tag("Slowish") class TaskRunnerRealBackendTest { private val log = LinkedBlockingDeque<String>() private val loggingUncaughtExceptionHandler = UncaughtExceptionHandler { _, throwable -> log.put("uncaught exception: $throwable") } private val threadFactory = ThreadFactory { runnable -> Thread(runnable, "TaskRunnerRealBackendTest").apply { isDaemon = true
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
* * @author Chris Nokleberg */ public class CountingInputStreamTest extends IoTestCase { private CountingInputStream counter; @Override protected void setUp() throws Exception { super.setUp(); counter = new CountingInputStream(new ByteArrayInputStream(new byte[20])); } public void testReadSingleByte() throws IOException { assertEquals(0, counter.getCount());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.5K bytes - Viewed (0) -
docs_src/dependencies/tutorial008b.py
app = FastAPI() data = { "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"}, "portal-gun": {"description": "Gun to create portals", "owner": "Rick"}, } class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}") @app.get("/items/{item_id}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Dec 26 20:37:34 UTC 2023 - 735 bytes - Viewed (0) -
docs_src/dependencies/tutorial008d_an.py
from fastapi import Depends, FastAPI, HTTPException from typing_extensions import Annotated 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)]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 744 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/JobNotFoundException.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.exception; import org.codelibs.fess.es.config.exentity.ScheduledJob; public class JobNotFoundException extends FessSystemException { private static final long serialVersionUID = 1L;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.exception; public class SuggestSettingsException extends RuntimeException { private static final long serialVersionUID = 1L; public SuggestSettingsException(final String msg) { super(msg); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
import org.codelibs.fess.es.config.exbhv.PathMappingBhv; import org.codelibs.fess.es.config.exentity.PathMapping; import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.DocumentUtil; import org.lastaflute.di.core.exception.ComponentNotFoundException; import org.lastaflute.di.core.factory.SingletonLaContainerFactory; import org.lastaflute.web.util.LaRequestUtil; import jakarta.annotation.PostConstruct;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* not accepted, an <tt>SmbAuthException</tt> will be thrown. If an error * occurs an <tt>SmbException</tt> will be thrown. If the credentials are * valid, the method will return without throwing an exception. See the * last <a href="../../../faq.html">FAQ</a> question. * <p> * See also the <tt>jcifs.smb.client.logonShare</tt> property. * * @param dc * @param tc
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun May 17 09:02:44 UTC 2020 - 6.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
crawlerContext.sessionId = sdf.format(new Date()); } public void addUrl(final String url) { try { urlQueueService.add(crawlerContext.sessionId, url); } catch (final Exception e) { logger.warn("Failed to add url: " + url, e); } urlFilter.processUrl(url); } public String getSessionId() { return crawlerContext.sessionId; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 7.9K bytes - Viewed (0)