- Sort Score
- Num 10 results
- Language All
Results 1141 - 1150 of 1,422 for Because (0.05 seconds)
-
internal/crypto/error.go
// modified accidentally or maliciously. type Error struct { msg string cause error } // Errorf - formats according to a format specifier and returns // the string as a value that satisfies error of type crypto.Error func Errorf(format string, a ...any) error { e := fmt.Errorf(format, a...) ee := Error{} ee.msg = e.Error() ee.cause = errors.Unwrap(e) return ee } // Unwrap the internal error.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.4K bytes - Click Count (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
} } catch (ite: InvocationTargetException) { if (!expectedFailure(className, ite.cause!!)) { throw ite.cause!! } } } @Suppress("UNUSED_PARAMETER") private fun expectedFailure( className: String, cause: Throwable, ): Boolean = when (className) { "okhttp3.recipes.CheckHandshake" -> true // by designCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java
* @param column The one-based index of the column containing the problem or {@code -1} if unknown. * @param cause The cause of the problem, may be {@code null}. */ void add(Problem.Severity severity, String message, int line, int column, Exception cause); /** * The next messages will be bound to this source. When calling this method again, previous messages keepCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceException.java
} /** * Creates a resource exception with cause * * @param message the error message * @param errorCode the SMB error code * @param resourceType the type of resource * @param cause the cause exception */ public SmbResourceException(String message, int errorCode, ResourceType resourceType, Throwable cause) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
CIFSException thrown = assertThrows(CIFSException.class, () -> { cifsContextWrapper.get(malformedUrl); }); assertTrue(thrown.getMessage().contains("Invalid URL")); assertTrue(thrown.getCause() instanceof MalformedURLException); } @Test void testGetPipe() throws CIFSException, MalformedURLException { // Test getPipe(String url, int pipeType) method
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
super(message); } /** * Create exception with cause * * @param message error message * @param cause underlying cause */ public NoAvailableChannelException(String message, Throwable cause) { super(message, cause); } }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java
String cause = assertThrows( IllegalArgumentException.class, () -> projectManager.attachArtifact(project, artifact, artifactPath)) .getMessage(); Supplier<String> message = () -> String.format("The exception message does not contain the expected GAV. Message was:%n%s%n", cause);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/InterruptedRuntimeException.java
private static final long serialVersionUID = 1L; /** * Creates a new {@link InterruptedRuntimeException} with the specified cause. * * @param e * the cause */ public InterruptedRuntimeException(final InterruptedException e) { super(e); }Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferFailedException.java
public ArtifactTransferFailedException(final String message) { super(message); } public ArtifactTransferFailedException(final String message, final 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.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/InternalErrorException.java
* Signals an internal error in Maven itself, e.g. a programming bug. * */ public class InternalErrorException extends MavenExecutionException { public InternalErrorException(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.1K bytes - Click Count (0)