- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 34 for addSuppressed (0.08 seconds)
-
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
ResultOffsetExceededException suppressedException = new ResultOffsetExceededException("Suppressed exception"); mainException.addSuppressed(suppressedException); Throwable[] suppressed = mainException.getSuppressed(); assertNotNull(suppressed); assertEquals(1, suppressed.length);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
throw failure } val unknownHostException = UnknownHostException(hostname) unknownHostException.initCause(failure) for (i in 1 until failures.size) { unknownHostException.addSuppressed(failures[i]) } throw unknownHostException } @Throws(Exception::class) private fun readResponse( hostname: String, response: Response, ): List<InetAddress> {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/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url); // Verify that suppression is disabled try { exception.addSuppressed(new Exception("Test suppressed")); // If suppression is disabled, getSuppressed should return empty array assertEquals(0, exception.getSuppressed().length); } catch (Exception e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.9K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
} logger.error("-----------------------------------------") GradleException toThrow = new GradleException(msg) for (Exception e : suppressed) { toThrow.addSuppressed(e) } throw toThrow } /** Adds a task to kill an elasticsearch node with the given pidfile */ private TaskProvider<AntFixtureStop> createStopTask() {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Transport.java
} catch (final IOException ioe) { log.warn("sendrecv failed", ioe); try { disconnect(true); } catch (final IOException ioe2) { ioe.addSuppressed(ioe2); log.info("disconnect failed", ioe2); } throw ioe; } catch (final InterruptedException ie) { throw new TransportException(ie); } finally {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
try { transport.disconnect(true); } catch (final IOException e) { log.warn("Failed to disconnect transport", e); se.addSuppressed(e); } throw se; } } /** * @param trans * @param sess * @throws CIFSException * */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Dec 15 11:20:38 GMT 2025 - 24.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
+ Multimaps.filterKeys(servicesByState, not(equalTo(RUNNING)))); for (Service service : servicesByState.get(State.FAILED)) { exception.addSuppressed(new FailedService(service)); } throw exception; } } } /** * A {@link Service} that wraps another service and times how long it takes for it to start and
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 33.2K bytes - Click Count (1) -
android/guava/src/com/google/common/collect/Streams.java
try { stream.close(); } catch (Exception e) { // sneaky checked exception if (exception == null) { exception = e; } else { exception.addSuppressed(e); } } } if (exception != null) { // Normally this is a RuntimeException that doesn't need sneakyThrow. // But theoretically we could see sneaky checked exceptionCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.8K bytes - Click Count (0)