Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 3,030 for thrown (0.17 sec)

  1. src/main/java/jcifs/util/PathValidator.java

         * @return normalized safe path
         * @throws SmbException if path is invalid or dangerous
         */
        public String validatePath(String path) throws SmbException {
            if (path == null || path.isEmpty()) {
                throw new SmbException("Path cannot be null or empty");
            }
    
            // Check length
            if (path.length() > maxPathLength) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. 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)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTreeTest.java

            smbTree.close();
            smbTree.close();
            smbTree.close();
    
            verify(smbTree, times(3)).close();
        }
    
        /**
         * Test for close() method throwing exception.
         * Verifies behavior when close throws an exception.
         */
        @Test
        void testClose_throwsException() {
            doThrow(new RuntimeException("Failed to close")).when(smbTree).close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. docs/recipes.md

          private final OkHttpClient client = new OkHttpClient();
    
          public void run() throws Exception {
            RequestBody requestBody = new RequestBody() {
              @Override public MediaType contentType() {
                return MEDIA_TYPE_MARKDOWN;
              }
    
              @Override public void writeTo(BufferedSink sink) throws IOException {
                sink.writeUtf8("Numbers\n");
                sink.writeUtf8("-------\n");
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      }
    
      public void testFrom_failedInput() throws Exception {
        assertFinallyFailsWithException(failedClosingFuture());
      }
    
      public void testFrom_cancelledInput() throws Exception {
        assertBecomesCanceled(ClosingFuture.from(immediateCancelledFuture()));
      }
    
      public void testEventuallyClosing() throws Exception {
        ClosingFuture<String> closingFuture =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_referent(this.entry_path, 1);
    
                if (this.entry_path != null) {
                    _dst = _dst.deferred;
                    _dst.enc_ndr_string(this.entry_path);
    
                }
            }
    
            @Override
            public void decode(NdrBuffer _src) throws NdrException {
                _src.align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

         * @param key
         * @param cipher
         * @return
         * @throws GeneralSecurityException
         * @throws InvalidKeyException
         * @throws InvalidAlgorithmParameterException
         * @throws IllegalBlockSizeException
         * @throws BadPaddingException
         */
        private static byte[] decryptDES(byte[] data, Key key, Cipher cipher) throws GeneralSecurityException, InvalidKeyException,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/context/CIFSContextWrapper.java

            this.delegate = delegate;
        }
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException if the URL is malformed or there is an error creating the SMB resource
         *
         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get(final String url) throws CIFSException {
            try {
                return new SmbFile(url, this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

                throws CIFSException {
            return delegate.getDfsReferrals(ctx, name, targetHost, targetDomain, rn);
        }
    
        @Override
        public boolean isSigningOptional() throws SmbException {
            return delegate.isSigningOptional();
        }
    
        @Override
        public boolean isSigningEnforced() throws SmbException {
            return delegate.isSigningEnforced();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top