- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 479 for Throwable (0.21 sec)
-
guava/src/com/google/common/base/Throwables.java
* * @since 20.0 */ public static void throwIfUnchecked(Throwable throwable) { checkNotNull(throwable); if (throwable instanceof RuntimeException) { throw (RuntimeException) throwable; } if (throwable instanceof Error) { throw (Error) throwable; } } /** * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@link
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Mar 06 15:38:58 GMT 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
* * @since 20.0 */ public static void throwIfUnchecked(Throwable throwable) { checkNotNull(throwable); if (throwable instanceof RuntimeException) { throw (RuntimeException) throwable; } if (throwable instanceof Error) { throw (Error) throwable; } } /** * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Mar 06 15:38:58 GMT 2024 - 20.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
closer.register(null); closer.close(); } static Throwable[] getSuppressed(Throwable throwable) { try { Method getSuppressed = Throwable.class.getDeclaredMethod("getSuppressed"); return (Throwable[]) getSuppressed.invoke(throwable); } catch (Exception e) { throw new AssertionError(e); // only called if running on JDK7 } } /**
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Mar 06 15:15:46 GMT 2024 - 13.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
closer.register(null); closer.close(); } static Throwable[] getSuppressed(Throwable throwable) { try { Method getSuppressed = Throwable.class.getDeclaredMethod("getSuppressed"); return (Throwable[]) getSuppressed.invoke(throwable); } catch (Exception e) { throw new AssertionError(e); // only called if running on JDK7 } } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Mar 06 15:15:46 GMT 2024 - 13.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
for (int i = 0; i < reps; i++) { int f = 0; Throwable t = new Throwable(); for (StackTraceElement ste : getStackTrace(t)) { dummy |= ste == duh; if (f++ == breakAt) { break; } } } return dummy; } abstract List<StackTraceElement> getStackTrace(Throwable t); } @BeforeExperiment public void doBefore() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
import static com.google.common.base.Throwables.getStackTraceAsString; import static com.google.common.base.Throwables.lazyStackTrace; import static com.google.common.base.Throwables.lazyStackTraceIsLazy; import static com.google.common.base.Throwables.throwIfInstanceOf; import static com.google.common.base.Throwables.throwIfUnchecked; import static com.google.common.truth.Truth.assertThat;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
import static com.google.common.base.Throwables.getStackTraceAsString; import static com.google.common.base.Throwables.lazyStackTrace; import static com.google.common.base.Throwables.lazyStackTraceIsLazy; import static com.google.common.base.Throwables.throwIfInstanceOf; import static com.google.common.base.Throwables.throwIfUnchecked; import static com.google.common.truth.Truth.assertThat;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.6K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar
METHOD_NAME_PREFIXES; private static final String[] REFLECTION_METHOD_NAME_PREFIXES; private void Throwables(); public static Exception rethrowAsException(Throwable) throws Exception; private static void rethrow(Throwable) throws Throwable; public static String getStacktrace(Throwable); public static String getTrimmedStackTrace(Throwable); private static java.util.List getTrimmedStackTrace(Throwable); private static reflect.Method initGetSuppressed(); private static boolean hasSuppressed(Throwable);...
Archive - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Tue Dec 19 19:08:55 GMT 2023 - 373.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Mar 06 15:15:46 GMT 2024 - 11.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
for (int i = 0; i < reps; i++) { int f = 0; Throwable t = new Throwable(); for (StackTraceElement ste : getStackTrace(t)) { dummy |= ste == duh; if (f++ == breakAt) { break; } } } return dummy; } abstract List<StackTraceElement> getStackTrace(Throwable t); } @BeforeExperiment public void doBefore() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.5K bytes - Viewed (0)