- Sort Score
- Num 10 results
- Language All
Results 661 - 670 of 2,828 for exception (0.06 seconds)
-
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
// We need to create a proper ASN1TaggedObject with APPLICATION tag class // Create a custom base object that throws IOException ASN1Encodable badBase = new ASN1Encodable() { @Override public ASN1Primitive toASN1Primitive() { // Return a primitive that will throw IOException when getEncoded is calledCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
/** * Gets the current mojo execution (if any). * * @return The current mojo execution or {@code null} if not applicable. */ MojoExecution getMojoExecution(); /** * Gets the exception that caused the event (if any). * * @return The exception or {@code null} if none. */ Exception getException();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 29 20:53:26 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* values. This includes both successful load operations and those that threw exceptions. This is * defined as {@code loadSuccessCount + loadExceptionCount}. * * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is * guaranteed not to throw an exception). If you require specific handling, we recommend * implementing your own stats collector. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
guava/src/com/google/common/cache/CacheStats.java
* values. This includes both successful load operations and those that threw exceptions. This is * defined as {@code loadSuccessCount + loadExceptionCount}. * * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is * guaranteed not to throw an exception). If you require specific handling, we recommend * implementing your own stats collector. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java
* * @param error exception that caused the failure */ public void markFailed(Exception error) { this.error = error; this.completed = true; } /** * Get error if request failed * * @return exception if failed, null if successful */ public Exception getError() { return error; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 3.2K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
response: Response, hostname: String, results: MutableList<InetAddress>, failures: MutableList<Exception>, ) { try { val addresses = readResponse(hostname, response) synchronized(results) { results.addAll(addresses) } } catch (e: Exception) { synchronized(failures) { failures.add(e) } } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
assertArrayEquals(new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }, resp.getErrorData()); } @Test void throwsOnUnexpectedStructureSize() throws Exception { // structureSize != 49 and != 9 should raise an exception byte[] header = buildHeader(NtStatus.NT_STATUS_SUCCESS); byte[] buf = new byte[header.length + 10]; System.arraycopy(header, 0, buf, 0, header.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java
*/ package okhttp3.recipes; import java.io.File; import java.io.IOException; import okhttp3.Cache; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class CacheResponse { private final OkHttpClient client; public CacheResponse(File cacheDirectory) throws Exception { int cacheSize = 10 * 1024 * 1024; // 10 MiBCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 2.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Unit tests for DomUtils functionality with domtrip backend. */ class DomUtilsTest { @Test void testFindChildElement() throws Exception { String pomXml = """ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"> <modelVersion>4.0.0</modelVersion>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 31.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
import org.codelibs.fess.crawler.entity.ResponseData; import org.codelibs.fess.crawler.exception.ChildUrlsException; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.codelibs.fess.crawler.exception.CrawlingAccessException; import org.codelibs.fess.crawler.exception.MaxLengthExceededException; import org.codelibs.fess.crawler.helper.ContentLengthHelper;
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 17.5K bytes - Click Count (0)