- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 496 for Throwables (0.08 seconds)
-
android/guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java
ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of(); } } private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF = ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder() .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of(); } } private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF = ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder() .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java
ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of(); } } private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF = ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder() .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java
* @param content * @param error */ void debug(CharSequence content, Throwable error); /** * Send an exception to the user in the <b>debug</b> error level.<br> * The stack trace for this exception will be output when this error level is enabled. * * @param error */ void debug(Throwable error); /** * @return true if the <b>info</b> error level is enabled */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java
} /** * Processes system error log events. * * @param objs the log objects (should contain a Throwable) */ protected void processSystemError(final Object... objs) { final Throwable t = (Throwable) objs[0]; if (logger.isErrorEnabled()) { logger.error("System Error.", t); } } /**Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 02:01:26 GMT 2025 - 14K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
private String getReference(Set<Throwable> dejaVu, Throwable exception) { String reference = ""; if (!dejaVu.add(exception)) { return reference; } if (exception != null) { if (exception instanceof MojoExecutionException) { reference = MojoExecutionException.class.getSimpleName(); Throwable cause = exception.getCause();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java
ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of(); } } private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF = ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder() .put(ArithmeticException.class, e -> e instanceof ArithmeticException)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
get() = connectState == ConnectState.TLS_CONNECTED var tcpConnectDelayNanos = 0L var tcpConnectThrowable: Throwable? = null var yieldBeforeTcpConnectReturns = false var connectTcpNextPlan: FakePlan? = null var tlsConnectDelayNanos = 0L var tlsConnectThrowable: Throwable? = null var connectTlsNextPlan: FakePlan? = null fun createRetry(): FakePlan { check(retry == null)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 6.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java
void testHandleExceptionLoopInCause() { // Some broken exception that does return "this" as getCause AtomicReference<Throwable> causeRef = new AtomicReference<>(null); Exception cause2 = new RuntimeException("loop") { @Override public synchronized Throwable getCause() { return causeRef.get(); } }; causeRef.set(cause2);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
Throwable cause = new RuntimeException("Root cause"); RequestTimeoutException exception = new RequestTimeoutException(cause); assertEquals("java.lang.RuntimeException: Root cause", exception.getMessage(), "Message should be derived from the cause"); assertEquals(cause, exception.getCause(), "Cause should match the provided throwable"); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0)