Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for SmbException (0.26 sec)

  1. 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 ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  2. 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);
        }
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 07:16:55 GMT 2018
    - 5.9K bytes
    - Viewed (0)
  3. 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 {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            String p = loc.getURL().getPath();
            if ( p.lastIndexOf('/') != ( p.length() - 1 ) ) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if ( unc.lastIndexOf('\\') != ( unc.length() - 1 ) ) {
                throw new SmbException(unc + " UNC must end with '\\'");
            }
    
            SmbTreeHandleImpl th = getTreeHandle();
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 5.3K 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
         */
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3K bytes
    - Viewed (0)
  6. 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
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     */
    
        public SmbFileOutputStream( String url, int shareAccess ) throws SmbException, MalformedURLException, UnknownHostException {
            this( new SmbFile( url, "", null, shareAccess ), false );
        }
    
        SmbFileOutputStream( SmbFile file, boolean append, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            this.append = append;
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  8. 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);
        }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    
    import java.io.IOException;
    
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SmbException;
    
    
    @SuppressWarnings ( "javadoc" )
    public class SamrAliasHandle extends rpc.policy_handle implements AutoCloseable {
    
        private final DcerpcHandle handle;
        private boolean opened;
    
    
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * the smb URL syntax.
         *
         * @param file
         *            An <code>SmbFile</code> specifying the file to write to
         * @throws SmbException
         */
        public SmbFileOutputStream ( SmbFile file ) throws SmbException {
            this(file, false);
        }
    
    
        /**
         * Creates an {@link java.io.OutputStream} for writing bytes to a file
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
Back to top