- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 344 for Throwable (0.14 seconds)
-
android/guava/src/com/google/common/base/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 Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Feb 03 21:52:39 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/monitor/logging/DefaultLog.java
public void info(CharSequence content, Throwable error) { logger.info(toString(content), error); } @Override public void info(Throwable error) { logger.info("", error); } @Override public void warn(CharSequence content) { logger.warn(toString(content)); } @Override public void warn(CharSequence content, Throwable error) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java
*/ public BuildFailure(MavenProject project, Duration execTime, Duration wallTime, Throwable cause) { super(project, execTime, wallTime); this.cause = cause; } /** * Gets the cause of the build failure. * * @return The cause of the build failure or {@code null} if unknown. */ public Throwable getCause() { return cause; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 2.7K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java
* @param message the message to be logged * @param error the associated exception, or null if not applicable */ void log(@Nonnull Level level, @Nonnull String message, @Nullable Throwable error); /** * Logs a debug message without an associated exception. * * @param message the debug message to be logged */ default void debug(String message) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataRetrievalException.java
* @param cause a cause * @deprecated use {@link #ArtifactMetadataRetrievalException(String, Throwable, Artifact)} */ @Deprecated public ArtifactMetadataRetrievalException(String message, Throwable cause) { this(message, cause, null); } public ArtifactMetadataRetrievalException(String message, Throwable cause, Artifact artifact) { super(message, cause); this.artifact = artifact; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java
} /** * Construct a new <code>MojoFailureException</code> exception wrapping an underlying <code>Throwable</code> * and providing a <code>message</code>. * * @param message * @param cause * @since 2.0.9 */ public MojoFailureException(String message, Throwable cause) { super(message, cause); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (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() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (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() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocGenerationException.java
import gradlebuild.docs.DocGenerationException; public class ClassDocGenerationException extends DocGenerationException { public ClassDocGenerationException(String message, Throwable throwable) { super(message, throwable); }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 899 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
protected abstract void realRun() throws Throwable; @Override public final void run() { try { realRun(); } catch (Throwable t) { threadUnexpectedException(t); } } } public abstract class RunnableShouldThrow implements Runnable { protected abstract void realRun() throws Throwable; final Class<?> exceptionClass;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 37.8K bytes - Click Count (0)