- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 636 for Cause (0.05 sec)
-
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 { return when (className) { "okhttp3.recipes.CheckHandshake" -> true // by design
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
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 ...interface{}) error { e := fmt.Errorf(format, a...) ee := Error{} ee.msg = e.Error() ee.cause = errors.Unwrap(e) return ee } // Unwrap the internal error.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 4.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
} catch (ExecutionException e) { builder.append("FAILURE, cause=[").append(e.getCause()).append("]"); } catch (CancellationException e) { builder.append("CANCELLED"); } catch (RuntimeException e) { builder.append("UNKNOWN, cause=[").append(e.getClass()).append(" thrown from get()]"); } } private enum State { PENDING {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 19:37:41 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java
private static final long serialVersionUID = 1L; public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) { super("ECL0105", new Object[] { cause.getMessage() }, cause); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
try { dns.lookup("google.com") fail<Any>() } catch (ioe: IOException) { assertThat(ioe.message).isEqualTo("google.com") val cause = ioe.cause!! assertThat(cause).isInstanceOf<IOException>() assertThat(cause).hasMessage("response size exceeds limit (65536 bytes): 65537 bytes") } } @Test fun failOnBadResponse() { server.enqueue(dnsResponse("00"))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/GsaConfigException.java
public class GsaConfigException extends FessSystemException { private static final long serialVersionUID = 1L; public GsaConfigException(final String message, final Throwable cause) { super(message, cause); } public GsaConfigException(final String message) { super(message); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 978 bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/exception/OpenSearchAccessException.java
public OpenSearchAccessException(final String message) { super(message); } public OpenSearchAccessException(final String message, final Throwable cause) { super(message, cause); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 1010 bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactDoesNotExistException.java
public ArtifactDoesNotExistException(final String message) { super(message); } public ArtifactDoesNotExistException(final String message, final Throwable cause) { super(message, cause); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationException.java
public BeanConfigurationException(String message) { super(message); } public BeanConfigurationException(String message, Throwable cause) { super(message, cause); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/TransformationFailedException.java
* implementation. */ public class TransformationFailedException extends RuntimeException { public TransformationFailedException(Throwable cause) { super(cause); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.1K bytes - Viewed (0)