- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 554 for Throwables (0.07 seconds)
-
guava/src/com/google/common/collect/SneakyThrows.java
/** Static utility method for unchecked throwing of any {@link Throwable}. */ @GwtCompatible final class SneakyThrows<T extends Throwable> { /** * Throws {@code t} as if it were an unchecked {@link Throwable}. * * <p>This method is useful primarily when we make a reflective call to a method with no {@code * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/log/LoggerAdapter.java
boolean isFatalEnabled(); void fatal(String message); void fatal(String message, Throwable t); boolean isErrorEnabled(); void error(String message); void error(String message, Throwable t); boolean isWarnEnabled(); void warn(String message); void warn(String message, Throwable t); boolean isInfoEnabled(); void info(String message);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java
private final String throwable; /** * Constructs a new LogNotificationEvent. * * @param timestamp the event timestamp in milliseconds * @param level the log level name * @param loggerName the logger name * @param message the log message * @param throwable the throwable string, or null */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
private MavenProject project; public LifecycleExecutionException(String message) { super(message); } public LifecycleExecutionException(Throwable cause) { super(cause); } public LifecycleExecutionException(String message, Throwable cause) { super(message, cause); } public LifecycleExecutionException(String message, MavenProject project) { super(message);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 3.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
assertTrue(exception.getCause().getStackTrace().length > 0); } @Test public void test_multiLevelCause() { // Test with nested exceptions Throwable rootCause = new IllegalStateException("Root problem"); Throwable intermediateCause = new RuntimeException("Intermediate problem", rootCause); GsaConfigException exception = new GsaConfigException("Top level GSA error", intermediateCause);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
/** * Fails this future with the given Throwable if {@link #allMustSucceed} is true. Also, logs the * throwable if it is an {@link Error} or if {@link #allMustSucceed} is {@code true}, the * throwable did not cause this future to fail, and it is the first time we've seen that * particular Throwable. */ private void handleException(Throwable throwable) { checkNotNull(throwable); if (allMustSucceed) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
// have completed and we have processed them all. volatile @Nullable Set<Throwable> seenExceptionsField = null; volatile int remainingField; private static final AtomicHelper ATOMIC_HELPER; private static final LazyLogger log = new LazyLogger(AggregateFutureState.class); static { AtomicHelper helper; Throwable thrownReflectionFailure = null; try { helper = new SafeAtomicHelper();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java
* In the GWT versions of the methods (below), every exceptionType parameter is required to be * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write * your own instanceof tests. */ public final FluentFuture<V> catching( Class<Throwable> exceptionType, Function<? super Throwable, ? extends V> fallback, Executor executor) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.9K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java
final class Platform { static boolean isInstanceOfThrowableClass(Throwable t, Class<? extends Throwable> expectedClass) { /* * This method is used only by CatchingFuture, and CatchingFuture accepts only Throwable.class * under GWT. */ return true; } static void restoreInterruptIfIsInterruptedException(Throwable t) {} static void interruptCurrentThread() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 27 16:15:49 GMT 2025 - 2K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
val addresses = Dns.SYSTEM.lookup(hostname) listOf(addresses[0]) } private operator fun Throwable?.plus(throwable: Throwable): Throwable { if (this != null) { addSuppressed(throwable) return this } return throwable } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (0)