- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 2,436 for exception (0.06 sec)
-
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.TimeUnit; import java.util.function.Consumer; import org.codelibs.core.exception.InterruptedRuntimeException; import org.codelibs.fess.suggest.exception.SuggesterException; import org.codelibs.fess.suggest.request.Response; public class Deferred<RESPONSE extends Response> { private RESPONSE response = null;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java
body.crudMode = CrudMode.CREATE; final LabelType labelType = getLabelType(body).map(entity -> { try { labelTypeService.store(entity); } catch (final Exception e) { logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
/// We can also use this same approach to access the request body in an exception handler. All we need to do is handle the request inside a `try`/`except` block: {* ../../docs_src/custom_request_and_route/tutorial002.py hl[13,15] *} If an exception occurs, the`Request` instance will still be in scope, so we can read and make use of the request body when handling the error:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 22:39:38 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
import junit.framework.TestCase; /** * Unit test for {@link TypeParameter}. * * @author Ben Yu */ public class TypeParameterTest extends TestCase { public <T> void testCaptureTypeParameter() throws Exception { TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; TypeVariable<?> expected = TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter") .getTypeParameters()[0];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 1.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/UnknownRepositoryLayoutException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact; import org.codehaus.plexus.component.repository.exception.ComponentLookupException; /** * Exception which is meant to occur when a layout specified for a particular * repository doesn't have a corresponding {@link org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout}
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java
.addInterceptor(new CurrentDateInterceptor()) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { System.out.println(response.request().header("Date")); } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Oct 31 15:32:50 UTC 2018 - 1.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostString.java
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat May 25 18:02:55 UTC 2019 - 1.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java
*/ package org.codelibs.fess.crawler.rule.impl; import java.io.InputStream; import org.codelibs.fess.crawler.entity.ResponseData; import org.codelibs.fess.crawler.exception.CrawlingAccessException; import org.codelibs.fess.crawler.helper.SitemapsHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author shinsuke * */
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 22.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java
suggester = Suggester.builder().build(runner.client(), "SuggesterTest"); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Test public void test_normalize() throws Exception { Normalizer normalizer = SuggestUtil.createDefaultNormalizer(runner.client(), suggester.settings());
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.3K bytes - Viewed (0)