- Sort Score
- Num 10 results
- Language All
Results 1761 - 1770 of 2,582 for throwIt (0.25 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
final long now = SystemUtil.currentTimeMillis(); if (now - previousTime < interval) { throw new IllegalStateException(); } previousTime = now; count++; if (count <= exceptionCount) { throw new CrawlerSystemException("exception " + count); } final ResponseData responseData = new ResponseData();
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
throw new RuntimeCIFSException("Test exception"); }); // Test that it can be caught specifically assertThrows(RuntimeCIFSException.class, () -> { throw new RuntimeCIFSException("Test exception"); }); // Test exception handling behavior try {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
// We may have been asked to cancel while creating the new stream and sending the request // headers, but there was still no stream to close. if (canceled) { stream!!.closeLater(ErrorCode.CANCEL) throw IOException("Canceled") } stream!!.readTimeout().timeout(chain.readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS) stream!!.writeTimeout().timeout(chain.writeTimeoutMillis.toLong(), TimeUnit.MILLISECONDS) }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 7K bytes - Click Count (0) -
okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt
* .build() * ``` */ @Deprecated(message = "Use okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR instead") class JavaNetAuthenticator : Authenticator { @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? = JAVA_NET_AUTHENTICATOR.authenticate(route, response)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt
* called by readers. */ public interface MockResponseBody { /** The length of this response in bytes, or -1 if unknown. */ public val contentLength: Long @Throws(IOException::class) public fun writeTo(sink: BufferedSink)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 14 16:09:26 GMT 2025 - 1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/LdapOperationException.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * An exception thrown when an LDAP operation fails. */ public class LdapOperationException extends FessSystemException { private static final long serialVersionUID = 1L; /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java
public RandomAmountInputStream(InputStream in, Random random) { super(checkNotNull(in)); this.random = checkNotNull(random); } @Override public int read(byte[] b, int off, int len) throws IOException { return super.read(b, off, random.nextInt(len) + 1); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestCharSource.java
return byteSource.wasStreamOpened(); } @Override public boolean wasStreamClosed() { return byteSource.wasStreamClosed(); } @Override public Reader openStream() throws IOException { return new InputStreamReader(byteSource.openStream(), UTF_8); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/InvalidPluginException.java
* under the License. */ package org.apache.maven.plugin; import org.apache.maven.project.ProjectBuildingException; import org.apache.maven.project.artifact.InvalidDependencyVersionException; /** * Thrown when a plugin is not internally consistent. * */ public class InvalidPluginException extends Exception { public InvalidPluginException(String message, ProjectBuildingException e) { super(message, e); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactoryException.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; /** * Exception thrown when toolchain factory operations fail. * * <p>This exception wraps errors that occur during toolchain creation or initialization.</p> */ public class ToolchainFactoryException extends MavenException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 1.3K bytes - Click Count (0)