Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for SmbException (0.14 sec)

  1. src/main/java/jcifs/smb/SmbException.java

        }
    
    
        /**
         * @param e
         * @return a CIFS exception wrapped in an SmbException
         */
        static SmbException wrap ( CIFSException e ) {
            if ( e instanceof SmbException ) {
                return (SmbException) e;
            }
            return new SmbException(e.getMessage(), e);
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:16:55 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbException.java

        private Throwable rootCause;
    
        SmbException() {
        }
        SmbException( int errcode, Throwable rootCause ) {
            super( getMessageByCode( errcode ));
            status = getStatusByCode( errcode );
            this.rootCause = rootCause;
        }
        SmbException( String msg ) {
            super( msg );
            status = NT_STATUS_UNSUCCESSFUL;
        }
        SmbException( String msg, Throwable rootCause ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            }
        }
    
    
        /**
         * {@inheritDoc}
         * 
         * @throws SmbException
         *
         * @see jcifs.SmbTreeHandle#getServerTimeZoneOffset()
         */
        @Override
        public long getServerTimeZoneOffset () throws SmbException {
            try ( SmbSessionImpl session = this.treeConnection.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbRandomAccess.java

         * 
         * @return read byte, -1 if EOF
         * @throws SmbException
         */
        int read () throws SmbException;
    
    
        /**
         * Read into buffer from current position
         * 
         * @param b
         *            buffer
         * @return number of bytes read
         * @throws SmbException
         */
        int read ( byte[] b ) throws SmbException;
    
    
        /**
         * Read into buffer from current position
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportInternal.java

    
        /**
         * @return whether signatures are supported but not required
         * @throws SmbException
         */
        boolean isSigningOptional () throws SmbException;
    
    
        /**
         * @return whether signatures are enforced from either side
         * @throws SmbException
         */
        boolean isSigningEnforced () throws SmbException;
    
    
        /**
         * @return the encryption key used by the server
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
        public void close() throws IOException {
            MsrpcLsarClose rpc = new MsrpcLsarClose(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
        public void close() throws IOException {
            MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

    
        /**
         * 
         * @return this pipe's input stream
         * @throws SmbException
         */
        @Override
        SmbPipeInputStream getInput () throws CIFSException;
    
    
        /**
         * 
         * @return this pipe's output stream
         * @throws SmbException
         * @throws
         */
        @Override
        SmbPipeOutputStream getOutput () throws CIFSException;
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

    import jcifs.SID;
    import jcifs.smb.SmbException;
    
    public class SambaHelperTest extends UnitFessTestCase {
    
        public SambaHelper sambaHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            sambaHelper = new SambaHelper();
        }
    
        public void test_smb_account() throws SmbException {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:55:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        /**
         * @return the fid
         * @throws SmbException
         */
        public int getFid () throws SmbException {
            if ( !isValid() ) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fid;
        }
    
    
        public byte[] getFileId () throws SmbException {
            if ( !isValid() ) {
                throw new SmbException("Descriptor is no longer valid");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (1)
Back to top