Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for SmbException (0.12 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/SmbRandomAccessFile.java

         * @param file
         * @param mode
         * @throws SmbException
         */
        public SmbRandomAccessFile ( SmbFile file, String mode ) throws SmbException {
            this(file, mode, SmbConstants.DEFAULT_SHARING, false);
        }
    
    
        /**
         * Instantiate a random access file from a {@link SmbFile}
         * 
         * @param file
         * @param mode
         * @throws SmbException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if((read( tmp, 0, 4 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint32be( tmp, 0 );
        }
        public final long readLong() throws SmbException {
            if((read( tmp, 0, 8 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint64be( tmp, 0 );
        }
        public final float readFloat() throws SmbException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

         * @param transport
         * @return
         * @throws SmbException
         */
        private int waitForState ( SmbTransportImpl transport ) throws SmbException {
            int cs;
            while ( ( cs = this.connectionState.get() ) != 0 ) {
                if ( cs == 2 ) {
                    return cs;
                }
                if ( cs == 3 ) {
                    throw new SmbException("Disconnecting during tree connect");
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        @Override
        public void renameTo ( SmbResource d ) throws SmbException {
            renameTo(d, false);
        }
    
    
        @Override
        public void renameTo ( SmbResource d, boolean replace ) throws SmbException {
            if ( ! ( d instanceof SmbFile ) ) {
                throw new SmbException("Invalid target resource");
            }
            SmbFile dest = (SmbFile) d;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

         * Establish a tree connection with the configured logon share
         * 
         * @throws SmbException
         */
        @Override
        public void treeConnectLogon () throws SmbException {
            String logonShare = getContext().getConfig().getLogonShare();
            if ( logonShare == null || logonShare.isEmpty() ) {
                throw new SmbException("Logon share is not defined");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
Back to top