Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 87 for onerror (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                response.exception(testException);
    
                assertTrue(response.isError());
                assertTrue(response.isReceived());
                assertSame(testException, response.getException());
            }
    
            @Test
            @DisplayName("Should handle error")
            void testError() throws InterruptedException {
                CountDownLatch latch = new CountDownLatch(1);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbExceptionTest.java

        }
    
        @Test
        @DisplayName("Should handle DOS error codes")
        void testDOSErrorCodes() {
            // Given
            int dosError = 0x00020002; // File not found from DOS_ERROR_CODES
    
            // When
            SmbException exception = new SmbException(dosError, false);
    
            // Then
            assertNotNull(exception);
            assertNotNull(exception.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        CyclicBarrier barrier = new CyclicBarrier(2);
        // we need to make sure the error gets thrown on a different thread.
        ExecutorService service = newSingleThreadExecutor();
        try {
          SequentialExecutor executor = new SequentialExecutor(service);
          Runnable errorTask =
              new Runnable() {
                @Override
                public void run() {
                  throw new MyError();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. cmd/admin-handler-utils.go

    	return toAPIErrorCode(ctx, err)
    }
    
    // wraps export error for more context
    func exportError(ctx context.Context, err error, fname, entity string) APIError {
    	if entity == "" {
    		return toAPIError(ctx, fmt.Errorf("error exporting %s with: %w", fname, err))
    	}
    	return toAPIError(ctx, fmt.Errorf("error exporting %s from %s with: %w", entity, fname, err))
    }
    
    // wraps import error for more context
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            this.error = true;
            this.exception = e;
            this.received = true;
            synchronized (this) {
                notifyAll();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#error()
         */
        @Override
        public final void error() {
            this.error = true;
            synchronized (this) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. api/go1.23.txt

    pkg math/rand/v2, func Uint() uint #61716
    pkg math/rand/v2, method (*ChaCha8) Read([]uint8) (int, error) #67059
    pkg math/rand/v2, method (*Rand) Uint() uint #61716
    pkg net, method (*DNSError) Unwrap() error #63116
    pkg net, method (*TCPConn) SetKeepAliveConfig(KeepAliveConfig) error #62254
    pkg net, type DNSError struct, UnwrapErr error #63116
    pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. docs/bucket/replication/sio-error.sh

    Poorna <******@****.***> 1716056341 -0700
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/transport/Response.java

         */
        boolean isVerifyFailed();
    
        /**
         * Checks if the response indicates an error.
         *
         * @return whether the response is an error
         */
        boolean isError();
    
        /**
         * Set error status
         */
        void error();
    
        /**
         * Gets the expiration time for this response.
         *
         * @return the message timeout
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ErrorCode.kt

     */
    package okhttp3.internal.http2
    
    /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-7 */
    enum class ErrorCode constructor(
      val httpCode: Int,
    ) {
      /** Not an error!  */
      NO_ERROR(0),
    
      PROTOCOL_ERROR(1),
    
      INTERNAL_ERROR(2),
    
      FLOW_CONTROL_ERROR(3),
    
      SETTINGS_TIMEOUT(4),
    
      STREAM_CLOSED(5),
    
      FRAME_SIZE_ERROR(6),
    
      REFUSED_STREAM(7),
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbOperationException.java

        }
    
        /**
         * Check if this is a network-related error
         *
         * @return true if network error
         */
        public boolean isNetworkError() {
            return errorCode.getCategory() == ErrorCategory.NETWORK;
        }
    
        /**
         * Check if this is an authentication error
         *
         * @return true if authentication error
         */
        public boolean isAuthenticationError() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top