Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 172 for Ex (0.17 sec)

  1. 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)
  2. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  3. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  4. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/MethodUtil.java

            } catch (final InvocationTargetException ex) {
                final Throwable t = ex.getCause();
                if (t instanceof RuntimeException) {
                    throw (RuntimeException) t;
                }
                if (t instanceof Error) {
                    throw (Error) t;
                }
                throw new InvocationTargetRuntimeException(method.getDeclaringClass(), ex);
            } catch (final IllegalAccessException ex) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/FieldUtil.java

            assertArgumentNotNull("field", field);
    
            try {
                return (T) field.get(target);
            } catch (final IllegalAccessException ex) {
                throw new IllegalAccessRuntimeException(field.getDeclaringClass(), ex);
            }
        }
    
        /**
         * {@literal static}な {@link Field}の値をintとして取得します。
         *
         * @param field
         *            フィールド。{@literal null}であってはいけません
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. android/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 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

        @Size(max = 1000)
        public String q;
    
        @Size(max = 1000)
        public String sort;
    
        @ValidateTypeFailure
        public Integer num;
    
        public String[] lang;
    
        public String[] ex_q;
    
        @ValidateTypeFailure
        public Integer start;
    
        @ValidateTypeFailure
        public Integer offset;
    
        @ValidateTypeFailure
        public Integer pn;
    
        @Size(max = 1000)
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 10.6K bytes
    - Viewed (0)
Back to top