- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 270 for RuntimeException (0.19 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java
}); if (!keptAccessors.isEmpty()) { String formattedLeft = CollectionUtils.join("\n", keptAccessors.keySet()); throw new RuntimeException("The following accessors were upgraded, but didn't match any removed/changed method:\n\n" + formattedLeft); } // Find accessors that were removed but shouldn't be
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:30:48 UTC 2024 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
return !RuntimeException.class.isAssignableFrom(type); } @VisibleForTesting static void checkExceptionClassValidity(Class<? extends Exception> exceptionClass) { checkArgument( isCheckedException(exceptionClass), "Futures.getChecked exception type (%s) must not be a RuntimeException", exceptionClass); checkArgument(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 19:37:41 UTC 2024 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
assertEquals(OTHER_THROWABLE, expected.getCause()); } public void testGetUnchecked_runtimeException() { RuntimeException expected = assertThrows(RuntimeException.class, () -> getUnchecked(RUNTIME_EXCEPTION_FUTURE)); assertEquals(RUNTIME_EXCEPTION, expected); } public void testGetUnchecked_error() { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
assertEquals(OTHER_THROWABLE, expected.getCause()); } public void testGetUnchecked_runtimeException() { RuntimeException expected = assertThrows(RuntimeException.class, () -> getUnchecked(RUNTIME_EXCEPTION_FUTURE)); assertEquals(RUNTIME_EXCEPTION, expected); } public void testGetUnchecked_error() { try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ScheduledThreadPoolExecutor delegate = new ScheduledThreadPoolExecutor(1); ListeningScheduledExecutorService service = listeningDecorator(delegate); RuntimeException ex = new RuntimeException(); ListenableFuture<?> future = service.schedule(new ThrowingRunnable(0, ex), 1, MILLISECONDS); assertExecutionException(future, ex); assertEquals(0, delegate.getQueue().size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 28.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryExpiredException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.dict; public class DictionaryExpiredException extends RuntimeException { private static final long serialVersionUID = 1L; // public DictionaryExpiredException() { // super("errors.expired_dict_id"); // }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 885 bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DocGenerationException.java
* limitations under the License. */ package gradlebuild.docs; import org.gradle.internal.exceptions.Contextual; @Contextual public class DocGenerationException extends RuntimeException { public DocGenerationException(String message) { super(message); } public DocGenerationException(String message, Throwable throwable) { super(message, throwable); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 968 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
assertThat(t3).isCloseTo(1750.0, 250.0) } @Test fun taskFailsWithUncheckedException() { queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(100)) { log.put("failing task running") throw RuntimeException("boom!") } queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(200)) { log.put("normal task running") return@schedule -1L } queue.idleLatch().await(500, TimeUnit.MILLISECONDS)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java
* 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); } public SuggestSettingsException(final Throwable cause) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1K bytes - Viewed (0)