Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 88 for UnknownHostException (0.11 sec)

  1. src/main/java/jcifs/SmbTransportPool.java

         * @return a connected transport
         * @throws UnknownHostException if the host cannot be resolved
         * @throws IOException if an I/O error occurs
         */
        SmbTransport getSmbTransport(CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning)
                throws UnknownHostException, IOException;
    
        /**
         * Get transport connection
         *
         * @param tc
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.File
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.UnknownHostException
    import java.util.Arrays
    import java.util.concurrent.ThreadFactory
    import okhttp3.internal.http2.Header
    import okio.Buffer
    import okio.FileSystem
    import org.junit.jupiter.api.Assumptions.assumeFalse
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/Config.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.PrintStream;
    import java.io.UnsupportedEncodingException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.util.Properties;
    import java.util.StringTokenizer;
    
    import jcifs.smb1.util.LogStream;
    
    /**
     * This class uses a static {@link java.util.Properties} to act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         * @throws UnknownHostException if the IP address is not found
         */
        @Test
        void testConstructor() throws IOException, PACDecodingException, UnknownHostException {
            // Build a sample Kerberos EncData structure
            ASN1EncodableVector vector = new ASN1EncodableVector();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.dnsoverhttps
    
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    
    /**
     * Temporary registry of known DNS over HTTPS providers.
     *
     * https://github.com/curl/curl/wiki/DNS-over-HTTPS
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         * @return a DCERPC handle for the connection
         * @throws UnknownHostException if the host cannot be resolved
         * @throws MalformedURLException if the URL is malformed
         * @throws DcerpcException if DCERPC initialization fails
         */
        public static DcerpcHandle getHandle(final String url, final NtlmPasswordAuthentication auth)
                throws UnknownHostException, MalformedURLException, DcerpcException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

        }
    
        @Test
        @DisplayName("Should throw UnknownHostException for empty address list")
        void testUnknownHostException() throws Exception {
            // Given: No addresses returned
            when(nameSvc.getAllByName(eq("unknown.host"), eq(true))).thenReturn(new Address[0]);
    
            // When/Then: Should throw UnknownHostException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *          do not follow the prescribed syntax
         * @throws  UnknownHostException
         *          If the server or workgroup of the {@code context} file cannot be determined
         */
    
        public SmbFile(final SmbFile context, final String name) throws MalformedURLException, UnknownHostException {
            this(context.isWorkgroup0() ? new URL(null, "smb1://" + name, Handler.SMB_HANDLER)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.util.Arrays;
    import java.util.Collections;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top