Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 172 for ex (0.25 sec)

  1. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                    break;
                }
            }
            catch ( Exception ex ) {
                throw new SmbException("", ex);
            }
            if ( log.isTraceEnabled() ) {
                log.trace("LM_COMPATIBILITY=" + transport.getContext().getConfig().getLanManCompatibility());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        f.set("foo");
      }
    
      public void testExecutorSuccess() {
        CountingSameThreadExecutor ex = new CountingSameThreadExecutor();
        SettableFuture<String> f = SettableFuture.create();
        MockCallback callback = new MockCallback("foo");
        Futures.addCallback(f, callback, ex);
        f.set("foo");
        assertEquals(1, ex.runCount);
      }
    
      // Error cases
      public void testSameThreadExecutionException() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Nov 15 16:33:21 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Kerb5Context.java

                }
                catch (
                    IllegalAccessException |
                    IllegalArgumentException |
                    InvocationTargetException ex ) {
                    throw new SmbException("Failed to query Kerberos session key from ExtendedGSSContext", ex);
                }
            }
            throw new SmbException("ExtendedGSSContext is not implemented by GSSContext");
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

                    }
                } catch( Exception ex ) {
                    String msg = ex.getMessage();
                    boolean timeout = msg != null && msg.equals( "Read timed out" );
                    /* If just a timeout, try to disconnect gracefully
                     */
                    boolean hard = timeout == false;
    
                    if (!timeout && log.level >= 3)
                        ex.printStackTrace( log );
    
                    try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Transport.java

                            doRecv(response);
                            response.received();
                        }
                    }
                }
                catch ( Exception ex ) {
                    String msg = ex.getMessage();
                    boolean timeout = ( ex instanceof SocketTimeoutException ) || msg != null && msg.equals("Read timed out");
                    boolean closed = msg != null && msg.equals("Socket closed");
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                .withArguments(":binary-compatibility:checkBinaryCompatibility", "-s")
    
            val (buildResult, failure) = try {
                runner.build()!! to null
            } catch (ex: UnexpectedBuildFailure) {
                ex.buildResult!! to ex
            }
    
            println(buildResult.output)
    
            val richReportFile = inputBuildDir.resolve("binary-compatibility/build/japi/japi.html").apply {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/Handler.java

                            } catch (Exception ex) { }
                            if (handlerClass == null) {
                                handlerClass = ClassLoader.getSystemClassLoader(
                                        ).loadClass(className);
                            }
                            handler = (URLStreamHandler) handlerClass.newInstance();
                        } catch (Exception ex) { }
                        if (handler != null) break;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        ListeningScheduledExecutorService service = listeningDecorator(delegate);
        RuntimeException ex = new RuntimeException();
        ListenableFuture<?> future =
            service.schedule(new ThrowingRunnable(0, ex), 1, TimeUnit.MILLISECONDS);
        assertExecutionException(future, ex);
        assertEquals(0, delegate.getQueue().size());
      }
    
      public void testListeningDecorator_schedulePeriodic() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  9. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    }
                    else {
                        this.failCounts.put(hostAddress, failCount + 1);
                    }
                    ex = e;
                }
            }
    
            if ( ex != null ) {
                throw ex;
            }
            throw new TransportException("All connection attempts failed");
        }
    
    
        /**
         * 
         * @param trans
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                } catch (IOException ex) { }
            }
            int domainLength = domain.length;
            byte[] server = new byte[0];
            try {
                String host = NbtAddress.getLocalHost().getHostName();
                if (host != null) {
                    try {
                        server = host.getBytes(UNI_ENCODING);
                    } catch (IOException ex) { }
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
Back to top