Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 539 for error (0.15 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
            error.initCause(e);
            throw error;
          }
        }
        return urls.build().toArray(new URL[0]);
      }
    
      /** Returns the URLs in the class path. */
      static URL[] getClassPathUrls() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 13 20:26:15 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/PairedStats.java

       * data, and vertical if there is variance in the {@code y} data but not the {@code x} data.
       *
       * <p>This fit minimizes the root-mean-square error in {@code y} as a function of {@code x}. This
       * error is defined as the square root of the mean of the squares of the differences between the
       * actual {@code y} values of the data and the values predicted by the fit for the {@code x}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

            waitForInterrupt(currentThread);
          }
          if (run) {
            if (error == null) {
              // The cast is safe because of the `run` and `error` checks.
              afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
            } else {
              afterRanInterruptiblyFailure(error);
            }
          }
        }
      }
    
      private void waitForInterrupt(Thread currentThread) {
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           */
          log(throwable);
        }
      }
    
      private static void log(Throwable throwable) {
        String message =
            (throwable instanceof Error)
                ? "Input Future failed with Error"
                : "Got more than one input Future failure. Logging failures after the first";
        logger.get().log(SEVERE, message, throwable);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

        assertEquals(RUNTIME_EXCEPTION, expected);
      }
    
      public void testGetCheckedUntimed_Error() throws TwoArgConstructorException {
        try {
          getChecked(ERROR_FUTURE, TwoArgConstructorException.class);
        } catch (Error expected) {
          assertEquals(ERROR, expected);
          return;
        }
        fail();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbException.java

                int max = DOS_ERROR_CODES.length - 1;
    
                while( max >= min ) {
                    int mid = (min + max) / 2;
    
                    if( errcode > DOS_ERROR_CODES[mid][0] ) {
                        min = mid + 1;
                    } else if( errcode < DOS_ERROR_CODES[mid][0] ) {
                        max = mid - 1;
                    } else {
                        return DOS_ERROR_MESSAGES[mid];
                    }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        private static String getMessage(Throwable error, String def) {
            if (error == null) {
                return def;
            }
            String msg = error.getMessage();
            if (msg != null && !msg.isEmpty()) {
                return msg;
            }
            return getMessage(error.getCause(), def);
        }
    
        private ArtifactRepositoryLayout getLayout(String id) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcException.java

                }
            }
    
            return "0x" + Hexdump.toHexString(errcode, 8);
        }
    
        private int error;
        private Throwable rootCause;
    
        DcerpcException(int error) {
            super(getMessageByDcerpcError(error));
            this.error = error;
        }
        public DcerpcException(String msg) {
            super(msg);
        }
        public DcerpcException(String msg, Throwable rootCause) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              } catch (Exception e) { // sneaky checked exception
                AssertionError error =
                    new AssertionFailedError("Serialization failed on return value of " + factory);
                error.initCause(e.getCause());
                throw error;
              } catch (AssertionFailedError e) {
                AssertionError error =
                    new AssertionFailedError(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSource.java

       * reader each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned reader is closed.
       *
       * @throws IOException if an I/O error occurs while opening the reader
       */
      public abstract Reader openStream() throws IOException;
    
      /**
       * Opens a new {@link BufferedReader} for reading from this source. This method returns a new,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
Back to top