- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 573 for Throwables (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java
*/ public class ExceptionSummary { private Throwable exception; private String message; private String reference; private List<ExceptionSummary> children; public ExceptionSummary(Throwable exception, String message, String reference) { this(exception, message, reference, null); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
protected boolean setException(Throwable throwable) { boolean result = sync.setException(checkNotNull(throwable)); if (result) { executionList.execute(); } return result; } /** * Following the contract of {@link AbstractQueuedSynchronizer} we create a private subclass to * hold the synchronizer. This synchronizer is used to implement the blocking and waiting calls
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java
this.source = source; this.longMessage = longMessage; } /** * Constructs a new {@code MojoException} wrapping an underlying {@code Throwable} * and providing a {@code message}. */ public MojoException(String message, Throwable cause) { super(message, cause); } /** * Constructs a new {@code MojoException} providing a {@code message}. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon May 13 09:53:45 GMT 2024 - 2.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java
} public ProjectExecutionEvent(MavenSession session, MavenProject project, Throwable cause) { this(session, project, null, cause); } public ProjectExecutionEvent( MavenSession session, MavenProject project, List<MojoExecution> executionPlan, Throwable cause) { this.session = session; this.project = project; this.executionPlan = executionPlan;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
// Mock the read operation to return a specific byte doAnswer(new Answer<Void>() { @Override public Void answer(InvocationOnMock invocation) throws Throwable { SmbComReadAndX readCmd = invocation.getArgument(0); SmbComReadAndXResponse response = invocation.getArgument(1); response.dataLength = 1;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/log/JulLoggerAdapter.java
} @Override public void fatal(final String message) { logger.logp(Level.SEVERE, sourceClass, null, message); } @Override public void fatal(final String message, final Throwable t) { logger.logp(Level.SEVERE, sourceClass, null, message, t); } @Override public boolean isErrorEnabled() { return logger.isLoggable(Level.SEVERE); } @OverrideCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 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 Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestDeleteResponseTest.java
assertFalse(response1.hasError()); List<Throwable> errors = new ArrayList<>(); errors.add(new Exception("Test error")); SuggestDeleteResponse response2 = new SuggestDeleteResponse(errors, 100); assertTrue(response2.hasError()); } @Test public void test_getErrors() throws Exception { List<Throwable> errors = new ArrayList<>(); errors.add(new Exception("Error 1"));
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java
} /** * Construct a new <code>MojoExecutionException</code> exception wrapping an underlying <code>Throwable</code> * and providing a <code>message</code>. * * @param message * @param cause */ public MojoExecutionException(String message, Throwable cause) { super(message, cause); } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
android/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); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0)