- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 3,282 for throwIt (0.05 seconds)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
@Override public void transferStarted(TransferEvent event) throws TransferCancelledException { if (ongoing.get(new TransferResourceIdentifier(event.getResource())) == Boolean.FALSE) { throw new TransferCancelledException(); } put(event, false); } @Override public void transferProgressed(TransferEvent event) throws TransferCancelledException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
/** * Creates a new witness RPC client. * * @param serverAddress the witness server address * @param context the CIFS context * @throws IOException if connection fails */ public WitnessRpcClient(InetAddress serverAddress, CIFSContext context) throws IOException { this.serverAddress = serverAddress; this.context = context; try {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 12.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
+ " see the Javadoc for Files.createTempDir()."; @Override File createTempDir() { throw new IllegalStateException(MESSAGE); } @Override File createTempFile(String prefix) throws IOException { throw new IOException(MESSAGE); } } private TempFileCreator() {}
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
* * @throws TimeoutException if this thread does not offer a response within a reasonable amount of * time * @throws AssertionFailedError if the given method name does not match the name of the method * this thread has called most recently */ private Response getResponse(String methodName) throws Exception { Response response = responseQueue.poll(TIMEOUT_MILLIS, MILLISECONDS);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 11.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt
certificates as Array<Certificate> } @Throws( SSLPeerUnverifiedException::class, ) override fun getPeerCertificateChain(): Array<X509Certificate> = throw UnsupportedOperationException() override fun getPeerHost(): String = throw UnsupportedOperationException() override fun getPeerPort(): Int = throw UnsupportedOperationException() @Throws(SSLPeerUnverifiedException::class)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
* @return the Type 3 message to send to the server * @throws GeneralSecurityException if a cryptographic error occurs * @throws CIFSException if a CIFS protocol error occurs */ protected Type3Message createType3Message(final Type2Message msg2) throws GeneralSecurityException, CIFSException { if (this.auth instanceof NtlmNtHashAuthenticator) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* @param file the file containing the content * @throws IllegalArgumentException if file is null */ public ContentCache(final File file) { if (file == null) { throw new IllegalArgumentException("file must not be null"); } this.data = null; this.file = file; } @Override public void close() throws IOException { if (file != null) {Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 4.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
} /** Returns a plan for the first attempt at [route]. This throws if no plan is possible. */ @Throws(IOException::class) internal fun planConnectToRoute( route: Route, routes: List<Route>? = null, ): ConnectPlan { if (route.address.sslSocketFactory == null) { if (ConnectionSpec.CLEARTEXT !in route.address.connectionSpecs) { throw UnknownServiceException("CLEARTEXT communication not enabled for client")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
@Test void testInitializationWithoutMultiChannelSupport() throws IOException { when(mockConfig.isUseMultiChannel()).thenReturn(false); ChannelManager manager = new ChannelManager(mockContext, mockSession); manager.initializeMultiChannel(); assertFalse(manager.isUseMultiChannel()); } @Test void testGetHealthyChannels() throws UnknownHostException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java
throws ArtifactMetadataRetrievalException { throw new UnsupportedOperationException("Cannot get available versions in this test case"); } @Override public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository( Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws ArtifactMetadataRetrievalException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.7K bytes - Click Count (0)