Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 539 for error (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

        Object newValue = new Object();
        valueRef.set(newValue);
        assertSame(newValue, cache.getUnchecked(new Object()));
      }
    
      public void testGetUnchecked_error() {
        final Error cause = new Error();
        final AtomicReference<Object> valueRef = new AtomicReference<>();
        LoadingCache<Object, Object> cache =
            new AbstractLoadingCache<Object, Object>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/WinError.java

        static final int[] WINERR_CODES = {
            ERROR_SUCCESS,
            ERROR_ACCESS_DENIED,
            ERROR_REQ_NOT_ACCEP,
            ERROR_BAD_PIPE,
            ERROR_PIPE_BUSY,
            ERROR_NO_DATA,
            ERROR_PIPE_NOT_CONNECTED,
            ERROR_MORE_DATA,
            ERROR_NO_BROWSER_SERVERS_FOUND,
        };
    
        static final String[] WINERR_MESSAGES = {
            "The operation completed successfully.",
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcError.java

        public static final int DCERPC_FAULT_CONTEXT_MISMATCH = 0x1C00001A;
        public static final int DCERPC_FAULT_OP_RNG_ERROR     = 0x1C010002;
        public static final int DCERPC_FAULT_UNK_IF           = 0x1C010003;
        public static final int DCERPC_FAULT_PROTO_ERROR      = 0x1c01000b;
    
        static final int[] DCERPC_FAULT_CODES = {
            DCERPC_FAULT_OTHER, 
            DCERPC_FAULT_ACCESS_DENIED,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 2.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/StatsTesting.java

          assertThat(actualStats.mean()).isWithin(ALLOWED_ERROR).of(expectedStats.mean());
          assertThat(actualStats.populationVariance()).isWithin(0.0).of(0.0);
          assertThat(actualStats.min()).isWithin(ALLOWED_ERROR).of(expectedStats.min());
          assertThat(actualStats.max()).isWithin(ALLOWED_ERROR).of(expectedStats.max());
        } else {
          assertThat(actualStats.mean()).isWithin(ALLOWED_ERROR).of(expectedStats.mean());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

        listener.assertException(EXCEPTION);
      }
    
      public void testFutureGetThrowsWrappedError() throws Exception {
        Error error = new Error();
        inputFuture.setException(error);
        // Verify that get throws an ExecutionException, caused by an Error, when
        // the callback is called.
        listener.assertException(error);
      }
    
      public void testAddListenerAfterCallback() throws Throwable {
        inputFuture.set(VALID_INPUT_DATA);
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        boolean errorNotThrown = false;
        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("must be Object#equals to", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      public void testClassWhichIsAlwaysEqualButHasDifferentHashcodes() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    log.error("Multiple preauth negotiate contexts");
                    return false;
                }
            }
    
            if ( !foundPreauth ) {
                log.error("Missing preauth negotiate context");
                return false;
            }
            if ( !foundEnc && ( caps & Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION ) != 0 ) {
                log.error("Missing encryption negotiate context");
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 22 10:09:46 GMT 2020
    - 17.6K bytes
    - Viewed (0)
Back to top