- Sort Score
 - Result 10 results
 - Languages All
 
Results 2171 - 2180 of 2,976 for throwIt (0.08 sec)
- 
				
				
src/main/java/org/codelibs/core/exception/NullArgumentException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; /** * Exception thrown when an argument is null. * * Intended to be used instead of throwing {@link NullPointerException}. * * @author wyukawa */ public class NullArgumentException extends ClIllegalArgumentException { /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.3K bytes - Viewed (0) - 
				
				
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Job execution failed"; boolean exceptionCaught = false; try { throw new ScheduledJobException(expectedMessage); } catch (ScheduledJobException e) { exceptionCaught = true; assertEquals(expectedMessage, e.getMessage()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) - 
				
				
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
} public void test_throwAndCatchException() { // Test throwing and catching the exception String expectedMessage = "Storage failure"; try { throw new StorageException(expectedMessage); } catch (StorageException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) - 
				
				
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
try { final boolean isTimeout = !latch.await(time, unit); if (isTimeout) { throw new SuggesterException("Request timeout. time:" + time + " unit:" + unit.name()); } if (error != null) { throw new SuggesterException("An error occurred during the deferred computation.", error); } return response;Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.8K bytes - Viewed (0) - 
				
				
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
} @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGetOrDefault_nullAbsentAndUnsupported() { try { assertEquals( "getOrDefault(null, def) should return default or throw", v3(), getMap().getOrDefault(null, v3())); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) - 
				
				
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
} @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedAndUnsupported() { try { assertNull("get(null) should return null or throw", get(null)); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testGet_nonNullWhenNullContained() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) - 
				
				
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
} @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES) public void testFind_nullNotContainedAndUnsupported() { try { assertEquals(getMethodName() + "(nullNotPresent) should return -1 or throw", -1, find(null)); } catch (NullPointerException tolerated) { } } @CollectionFeature.Require(ALLOWS_NULL_VALUES) @CollectionSize.Require(absent = ZERO) public void testFind_nonNullWhenNullContained() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) - 
				
				
.github/workflows/create_issue.js
const pr_match_groups = context.payload.head_commit.message.match(/\Rollback of PR #(\d+).*/) || []; if (pr_match_groups.length != 2) { console.log(`PR Number not found in ${context.payload.head_commit.message}`); throw "Error extracting PR Number from commit message"; } const pr_number = parseInt(pr_match_groups[1]); const owner = context.payload.repository.owner.name; const repo = context.payload.repository.name;
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Oct 18 23:04:59 UTC 2021 - 2.8K bytes - Viewed (0) - 
				
				
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt
* necessarily indicate application-layer success: `response` may still indicate an unhappy HTTP * response code like 404 or 500. */ @Throws(IOException::class) fun onResponse( call: Call, response: Response, )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.6K bytes - Viewed (0) - 
				
				
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java
protected File getLocalRepositoryPath() { return getTestFile("target/test-classes/inheritance-repo/" + getTestSeries()); } @Override @BeforeEach public void setUp() throws Exception { super.setUp(); EmptyLifecycleBindingsInjector.useEmpty(); }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Feb 08 16:25:25 UTC 2025 - 2.1K bytes - Viewed (0)