- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 450 for Throwables (0.07 sec)
-
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
return weakSetValidator(); } } } // TODO(cpovirk): change parameter order to match other helper methods (Class, Throwable)? private static <X extends Exception> void wrapAndThrowExceptionOrError( Throwable cause, Class<X> exceptionClass) throws X { if (cause instanceof Error) { throw new ExecutionError((Error) cause); }
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-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
@Nullable private String value = null; @Nullable private Throwable failure = null; private boolean wasCalled = false; private final Object monitor = new Object(); MockCallback(String expectedValue) { this.value = expectedValue; } public MockCallback(Throwable expectedFailure) { this.failure = expectedFailure; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 6.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java
private final Mojo mojo; private final Throwable cause; public MojoExecutionEvent(MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo) { this(session, project, mojoExecution, mojo, null); } public MojoExecutionEvent( MavenSession session, MavenProject project, MojoExecution mojoExecution, Mojo mojo, Throwable cause) { this.session = session;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (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 */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (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();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.9K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java
super(message); } public AbstractMojoExecutionException(String message, Throwable cause) { super(message, cause); } /** * Constructs a new {@code AbstractMojoExecutionException} exception wrapping an underlying {@code Throwable}. * * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
FluentFuture<?> f = FluentFuture.from(immediateFailedFuture(new CustomRuntimeException())) .catching( Throwable.class, new Function<Throwable, Class<?>>() { @Override public Class<?> apply(Throwable input) { return input.getClass(); } }, directExecutor());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/JclLoggerAdapter.java
public void fatal(final String message, final Throwable t) { logger.fatal(message, t); } @Override public boolean isErrorEnabled() { return logger.isErrorEnabled(); } @Override public void error(final String message) { logger.error(message); } @Override public void error(final String message, final Throwable t) { logger.error(message, t); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java
} } private static final class WrapperException extends Exception { WrapperException(Throwable t) { super(t); } } private static void rethrow(ExecutionException e) throws ExecutionException { Throwable wrapper = e.getCause(); if (wrapper instanceof WrapperException) { Throwable cause = wrapper.getCause(); if (cause instanceof RuntimeException) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 12 20:02:10 UTC 2018 - 3.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionException.java
List<String> path, Throwable t) { super(message, groupId, artifactId, version, type, classifier, remoteRepositories, path, t); } public ArtifactResolutionException( String message, String groupId, String artifactId, String version, String type, String classifier, Throwable t) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0)