- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 496 for Throwables (0.06 seconds)
-
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.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.8K bytes - Click Count (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; } MockCallback(Throwable expectedFailure) { this.failure = expectedFailure; } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 6.7K bytes - Click Count (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;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.4K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K 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: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 3.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt
reason: String, ) { webSocket.close(1000, null) latch.countDown() } override fun onFailure( webSocket: WebSocket, t: Throwable, response: Response?, ) { t.printStackTrace(System.out) latch.countDown() } }, )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphTransformationException.java
public MetadataGraphTransformationException(String message) { super(message); } public MetadataGraphTransformationException(Throwable cause) { super(cause); } public MetadataGraphTransformationException(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 - 1.4K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/TransportException.java
*/ public TransportException(final Throwable rootCause) { super(rootCause); } /** * Constructs a new TransportException with the specified detail message and cause. * @param msg the detail message * @param rootCause the cause of this exception */ public TransportException(final String msg, final Throwable rootCause) { super(msg, rootCause); } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
* has failed. */ final @Nullable Throwable failure; StateSnapshot(State internalState) { this(internalState, false, null); } StateSnapshot( State internalState, boolean shutdownWhenStartupFinishes, @Nullable Throwable failure) { checkArgument( !shutdownWhenStartupFinishes || internalState == STARTING,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Platform.java
@GwtCompatible final class Platform { static boolean isInstanceOfThrowableClass( @Nullable Throwable t, Class<? extends Throwable> expectedClass) { return expectedClass.isInstance(t); } static void restoreInterruptIfIsInterruptedException(Throwable t) { checkNotNull(t); // to satisfy NullPointerTester if (t instanceof InterruptedException) { currentThread().interrupt();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.1K bytes - Click Count (0)