Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 139 for catch (0.04 sec)

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

            this.recursive = recursive;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbWatchHandle#watch()
         */
        @Override
        public List<FileNotifyInformation> watch () throws CIFSException {
            if ( !this.handle.isValid() ) {
                throw new SmbException("Watch was broken by tree disconnect");
            }
            try ( SmbTreeHandleImpl th = this.handle.getTree() ) {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            this.openFlags = openFlags;
            this.access = (openFlags >>> 16) & 0xFFFF;
            if( append ) {
                try {
                    fp = file.length();
                } catch( SmbAuthException sae ) {
                    throw sae;
                } catch( SmbException se ) {
                    fp = 0L;
                }
            }
            if( file instanceof SmbNamedPipe && file.unc.startsWith( "\\pipe\\" )) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/Handler.java

                            Class<?> handlerClass = null;
                            try {
                                handlerClass = Class.forName(className);
                            }
                            catch ( Exception ex ) {
                                log.debug("Failed to load handler class " + className, ex);
                            }
                            if ( handlerClass == null ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                    System.arraycopy( b, 0, dst, dstIndex, b.length );
                    dstIndex += b.length;
                    dst[dstIndex++] = (byte)'\0';
                }
            } catch( UnsupportedEncodingException uee ) {
                if( log.level > 1 )
                    uee.printStackTrace( log );
            }
    
            return dstIndex - start;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Name.java

                }
                dst[dstIndex + TYPE_OFFSET] = (byte)((( hexCode & 0xF0 ) >> 4 ) + 0x41 );
                dst[dstIndex + TYPE_OFFSET + 1] = (byte)(( hexCode & 0x0F ) + 0x41 );
            } catch( UnsupportedEncodingException uee ) {
            }
            return SCOPE_OFFSET + writeScopeWireFormat( dst, dstIndex + SCOPE_OFFSET );
        }
    
        int readWireFormat( byte[] src, int srcIndex ) {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/UniAddress.java

                this.svr = svr;
            }
            public void run() {
                try {
                    ans = NbtAddress.getByName( host, type, scope, svr );
                } catch( UnknownHostException uhe ) {
                    this.uhe = uhe;
                } catch( Exception ex ) {
                    this.uhe = new UnknownHostException( ex.getMessage() );
                } finally {
                    synchronized( sem ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

         * 4 = SMB_COM_DELETE_DIRECTORY
         * 5 = SMB_COM_OPEN_ANDX
         * 6 = SMB_COM_RENAME
         * 7 = SMB_COM_TRANSACTION
         * 8 = SMB_COM_QUERY_INFORMATION
         */
    
        /* All batch limits are single batch only until further notice
         */
    
        private static byte[] batchLimits = {
            1, 1, 1, 1, 1, 1, 1, 1, 0
        };
    
        static {
            String s;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                            }
                            server.oemDomainName = new String( buffer, bufferIndex,
                                    len, ServerMessageBlock.OEM_ENCODING );
                        }
                    } catch( UnsupportedEncodingException uee ) {
                        if( log.level > 1 )
                            uee.printStackTrace( log );
                    }
                    bufferIndex += len;
                } else {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/spnego/NegTokenTarg.java

                }
                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected void parse ( byte[] token ) throws IOException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenInit.java

                der.writeObject(derApplicationSpecific);
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected void parse ( byte[] token ) throws IOException {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top