- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 2,976 for throw (0.06 sec)
-
src/main/java/org/codelibs/curl/CurlException.java
* This class extends {@link RuntimeException} and provides constructors * to create an exception instance with a message and an optional cause. * * <p>Usage examples:</p> * <pre> * throw new CurlException("Error message"); * throw new CurlException("Error message", cause); * </pre> * * @see RuntimeException */ public class CurlException extends RuntimeException {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java
static native String emptyToNull(@Nullable String string) /*-{ return string || null; }-*/; static CommonPattern compilePattern(String pattern) { throw new UnsupportedOperationException(); } static boolean patternCompilerIsPcreLike() { throw new UnsupportedOperationException(); } static String lenientFormat(@Nullable String template, @Nullable Object @Nullable ... args) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
mockReferralData.stripPathConsumed(value); verify(mockReferralData, times(1)).stripPathConsumed(value); // Test with concrete implementation - may throw for invalid values if (value >= 0 && value <= concreteImplementation.getPathConsumed()) { assertDoesNotThrow(() -> concreteImplementation.stripPathConsumed(value)); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionAggregation.java
throw new InvalidQueryRegisteredException(msg); } } protected void checkEsInvalidAggregationCollection(String name, Collection<?> values) { if (values == null || values.isEmpty()) { String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values; throw new InvalidQueryRegisteredException(msg); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 12.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java
try { Thread.sleep(2000); } catch (InterruptedException e) { throw new CrawlingAccessException(e); } return null; } }; client.setAccessTimeout(1); try { client.doGet("http://localhost/");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
} public void testSubscriberThrowsExceptionHandlerThrowsException() throws Exception { EventBus eventBus = new EventBus( new SubscriberExceptionHandler() { @Override public void handleException(Throwable exception, SubscriberExceptionContext context) { throw new RuntimeException(); } }); Object subscriber =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
private Target nullSingleton; @Override public void setUp() throws Exception { super.setUp(); empty = new Target(emptyCollection(), "empty"); /* * We test that nullSingleton.retainAll(disjointList) does NOT throw a * NullPointerException when disjointList does not, so we can't use * MinimalCollection, which throws NullPointerException on calls to * contains(null). */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
* @throws IOException if an I/O error occurs */ public short readShort() throws IOException { align(2); return Short.reverseBytes(this.dis.readShort()); } /** * Reads a 32-bit integer value with proper alignment and byte order. * @return the integer value in little-endian format * @throws IOException if an I/O error occurs */ public int readInt() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java
for (String cron : potentiallyValidCrons) { boolean result = validator.isValid(cron, context); // Don't assert true/false here, just test that method doesn't throw assertNotNull("Validation should return a boolean result for: " + cron, Boolean.valueOf(result)); } } // Test edge cases to understand the validation behavior
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
this.iterator = iterator; } @Override public Iterator<E> iterator() { if (iterator == null) { // TODO: throw something else? Do we worry that people's code and tests // might be relying on this particular type of exception? throw new IllegalStateException(); } try { return iterator; } finally { iterator = null; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0)