- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 349 for Throwable (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/io/CharSource.java
return lengthIfKnown.get(); } Closer closer = Closer.create(); try { Reader reader = closer.register(openStream()); return countBySkipping(reader); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } private static long countBySkipping(Reader reader) throws IOException { long count = 0; long read;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java
// - knowing what artifacts are missing // - project building exception // - invalid project model exception: list of markers // - xmlpull parser exception List<Throwable> getExceptions(); MavenExecutionResult addException(Throwable e); boolean hasExceptions(); /** * Gets the build summary for the specified project. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java
artifact.getDependencyTrail()); } protected ArtifactNotFoundException( String message, Artifact artifact, List<ArtifactRepository> remoteRepositories, Throwable cause) { this( message, artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getType(),
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt
this.delegate = null delegate.onClosed(webSocket, code, reason) } else { events.add(Closed(code, reason)) } } override fun onFailure( webSocket: WebSocket, t: Throwable, response: Response?, ) { Platform.get().log("[WS $name] onFailure", Platform.INFO, t) val delegate = delegate if (delegate != null) { this.delegate = nullCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 7.2K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
get().log("[ES] onClosed", Platform.INFO, null) events.add(Closed) drainCancelQueue(eventSource) } override fun onFailure( eventSource: EventSource, t: Throwable?, response: Response?, ) { get().log("[ES] onFailure", Platform.INFO, t) events.add(Failure(t, response, t?.message ?: response?.body?.string())) drainCancelQueue(eventSource) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 11:32:52 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcException.java
* * @param msg * the error message * @param rootCause * the underlying cause of this exception */ public DcerpcException(final String msg, final Throwable rootCause) { super(msg, rootCause); } /** * Returns the DCE/RPC error code associated with this exception * * @return the error code */ public int getErrorCode() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
public void testForwardExceptionFastPath() throws Exception { class FailFuture extends InternalFutureFailureAccess implements ListenableFuture<String> { final Throwable failure; FailFuture(Throwable throwable) { failure = throwable; } @Override public boolean cancel(boolean mayInterruptIfRunning) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbException.java
* * @param errcode the SMB error code * @param rootCause the underlying cause of this exception */ public SmbException(final int errcode, final Throwable rootCause) { super(getMessageByCode(errcode), rootCause); this.status = getStatusByCode(errcode); } /** * Constructs an SmbException with the specified detail message *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
/** * Validate message+cause constructor and that no interaction with cause occurs during construction. */ @Test @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status") void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) { // Arrange String msg = "auth failed"; // Act SmbAuthException ex = new SmbAuthException(msg, mockCause);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0)