Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for Ex (0.16 sec)

  1. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        private final RuntimeException ex;
    
        private ThrowingIterator(RuntimeException ex) {
          this.ex = ex;
        }
    
        @Override
        public boolean hasNext() {
          // IteratorTester doesn't expect exceptions for hasNext().
          return true;
        }
    
        @Override
        public E next() {
          ex.fillInStackTrace();
          throw ex;
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            } catch (IOException ex) { }
            return connection.getContentEncoding();
        }
    
        public long getExpiration() {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getExpiration();
        }
    
        public long getDate() {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getDate();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        private final RuntimeException ex;
    
        private ThrowingIterator(RuntimeException ex) {
          this.ex = ex;
        }
    
        @Override
        public boolean hasNext() {
          // IteratorTester doesn't expect exceptions for hasNext().
          return true;
        }
    
        @Override
        public E next() {
          ex.fillInStackTrace();
          throw ex;
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  4. 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K 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 Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                throw new SmbAuthException( NtStatus.NT_STATUS_LOGON_FAILURE );
                            }
        
                            if (ex != null)
                                throw ex;
        
                            uid = response.uid;
        
                            if( request.digest != null ) {
                                /* success - install the signing digest */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top