- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 460 for throwing (0.14 sec)
-
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java
assertExceptionMessageContains("", "anotherArtifact"); // Verify that no exception is thrown when the artifactId is the module name when(artifact.getArtifactId()).thenReturn("org.foo.bar"); projectManager.attachArtifact(project, artifact, artifactPath); // Verify that an exception is thrown when the groupId differs when(artifact.getGroupId()).thenReturn("anotherGroup");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 17 16:17:01 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
@Test void testSetOptionEndpointInvalidPipe() { String endpoint = "\\pipe\\unknown"; DcerpcException thrown = assertThrows(DcerpcException.class, () -> { dcerpcBinding.setOption("endpoint", endpoint); }, "Should throw DcerpcException for unknown pipe endpoint."); assertTrue(thrown.getMessage().contains("Bad endpoint"), "Exception message should indicate a bad endpoint."); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java
* </p> * * <p> * The class also provides a mechanism to ignore exceptions that may occur during the delay process. * If {@link #ignoreException} is set to true, any exceptions thrown during the delay will be caught * and ignored. Otherwise, they will be re-thrown as {@link CrawlerSystemException}. * </p> * */ public abstract class AbstractIntervalController implements IntervalController {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComputationException.java
import org.jspecify.annotations.Nullable; /** * Wraps an exception that occurred during a computation. * * @author Bob Lee * @since 2.0 * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was * thrown by {@link MapMaker} computing maps. When support for computing maps was removed from * {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDown.java
* not fail a test when an exception is thrown from one of its {@link TearDown} instances, but * this is subject to change. Also, {@code junit4.TearDownTestCase} will. * * @throws Exception for any reason. {@code TearDownTestCase} ensures that any exception thrown * will not interfere with other TearDown operations. */ void tearDown() throws Exception;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.suggest.exception; /** * Exception thrown when there is an issue with the suggestion index. * This exception extends {@link SuggesterException}. * * <p>This exception can be thrown with a message, a cause, or both.</p> * * <pre> * Example usage: * throw new SuggestIndexException("Indexing error occurred");Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/SearchQueryException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * Exception thrown when there are issues with search query processing. * * This exception is typically thrown when query parsing, serialization, * or processing fails during search operations. It extends FessSystemException * to provide specific handling for search query-related errors. */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* order that they are added. * * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and logged. * * @author Nishant ThakkarRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalControllerTest.java
fail("Expected CrawlerSystemException to be thrown"); } catch (final CrawlerSystemException e) { // Expected assertTrue(e.getMessage().contains("Could not stop a process")); } } /** * Test CrawlerSystemException is re-thrown when ignoreException = false */ public void test_crawlerSystemExceptionRethrown() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
// When calling accept // Then an SmbException should be thrown SmbException thrown = assertThrows(SmbException.class, () -> { dosFileFilter.accept(mockFile); }); // and the exception should be the one we configured assertTrue(thrown == expectedException); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0)