Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 115 for errorCode (0.43 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

      override fun trackFailure(
        call: RealCall,
        e: IOException?,
      ) {
        var noNewExchangesEvent = false
        withLock {
          if (e is StreamResetException) {
            when {
              e.errorCode == ErrorCode.REFUSED_STREAM -> {
                // Stop using this connection on the 2nd REFUSED_STREAM error.
                refusedStreamCount++
                if (refusedStreamCount > 1) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/NotifyResponseTest.java

            // Setter methods for testing
            public void setGrantedCredits(int grantedCredits) {
                this.grantedCredits = grantedCredits;
            }
    
            public void setErrorCode(int errorCode) {
                this.errorCode = errorCode;
            }
    
            public void setVerifyFailed(boolean verifyFailed) {
                this.verifyFailed = verifyFailed;
            }
        }
    
        @BeforeEach
        void setUp() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/RequestTest.java

                return false;
            }
    
            @Override
            public boolean isError() {
                return errorCode != 0;
            }
    
            @Override
            public void error() {
                this.errorCode = -1;
            }
    
            @Override
            public Long getExpiration() {
                return expiration;
            }
    
            @Override
            public void setExpiration(Long exp) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        }
    
        @Test
        void testToString() {
            smb.command = ServerMessageBlock.SMB_COM_ECHO;
            smb.errorCode = 0;
            smb.mid = 1;
            String str = smb.toString();
            assertTrue(str.contains("command=SMB_COM_ECHO"));
            assertTrue(str.contains("errorCode=0"));
            assertTrue(str.contains("mid=1"));
        }
    
        @Test
        void testToStringUnknownCommand() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            // Navigate through the inheritance hierarchy to find the errorCode field
            Class<?> currentClass = response.getClass();
            Field errorCodeField = null;
    
            while (currentClass != null && errorCodeField == null) {
                try {
                    errorCodeField = currentClass.getDeclaredField("errorCode");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertTrue(result.contains("command=SMB_COM_TREE_CONNECT_ANDX"));
                assertTrue(result.contains("errorCode="));
                // Should show non-zero error code
                assertTrue(result.contains("errorCode=0x00000001") || result.contains("errorCode=1"));
            }
    
            @Test
            @DisplayName("Test toString with all command types")
            void testToStringAllCommands() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

                super(config, command, subcommand);
            }
    
            // Expose errorCode setter for testing - access protected field directly
            public void setTestErrorCode(int code) {
                this.errorCode = code;
            }
    
            @Override
            protected int writeSetupWireFormat(byte[] dst, int dstIndex) {
                return setupWireFormatReturn;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    import javax.net.SocketFactory
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseStream
    import okhttp3.internal.http2.ErrorCode
    import okhttp3.testing.Flaky
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            case SMB_COM_NT_TRANSACT_SECONDARY -> "SMB_COM_NT_TRANSACT_SECONDARY";
            default -> "UNKNOWN";
            };
            final String str = errorCode == 0 ? "0" : SmbException.getMessageByCode(errorCode);
            return "command=" + c + ",received=" + received + ",errorCode=" + str + ",flags=0x" + Hexdump.toHexString(flags & 0xFF, 4)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  10. src/main/resources/CLMessages.properties

    ECL0068=InvalidKeyException occurred, because {0}
    ECL0069=NoSuchPaddingException occurred, because {0}
    ECL0070=Field({1}) of class({0}) not found
    ECL0071=SQLException(Message=[{0}], ErrorCode={1}, SQLState={2}) occurred
    ECL0072=SQLException(SQL=[{0}], Message=[{1}], ErrorCode={2}, SQLState={3}) occurred
    ECL0091=Illegal URL({0})
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Mar 07 01:58:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top