Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 78 for ErrorCode (0.09 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/ErrorCode.kt

     * limitations under the License.
     */
    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),
    
    Created: 2026-04-03 11:42
    - Last Modified: 2025-03-19 19:25
    - 1.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NbtExceptionTest.java

            int errorClass = NbtException.ERR_SSN_SRVC;
            int errorCode = NbtException.CONNECTION_REFUSED;
            NbtException exception = new NbtException(errorClass, errorCode);
    
            String expectedToString = "errorClass=" + errorClass + ",errorCode=" + errorCode + ",errorString="
                    + NbtException.getErrorString(errorClass, errorCode);
    
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-14 05:31
    - 5.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbOperationException.java

                // Ignore
            }
        }
    
        private static String formatMessage(ErrorCode errorCode, String message) {
            if (message == null || message.isEmpty()) {
                return String.format("[%s] %s", errorCode.name(), errorCode.getDescription());
            }
            return String.format("[%s] %s: %s", errorCode.name(), errorCode.getDescription(), message);
        }
    
        private String extractOperationName() {
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-30 05:58
    - 16.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/netbios/NbtException.java

         *
         * @param errorClass the NetBIOS error class
         * @param errorCode the NetBIOS error code
         */
        public NbtException(final int errorClass, final int errorCode) {
            super(getErrorString(errorClass, errorCode));
            this.errorClass = errorClass;
            this.errorCode = errorCode;
        }
    
        @Override
        public String toString() {
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-16 01:32
    - 5.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            // Arrange
            int access = 1;
            int rid = 100;
            int errorCode = 0xC0000022; // Example error code
    
            // Mock the behavior of sendrecv for MsrpcSamrOpenAlias to simulate failure
            doAnswer(invocation -> {
                MsrpcSamrOpenAlias rpc = invocation.getArgument(0);
                rpc.retval = errorCode; // Simulate failure
                return null;
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-14 05:31
    - 6.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/netbios/NbtException.java

         * @param errorCode the NetBIOS error code
         */
        public NbtException(final int errorClass, final int errorCode) {
            super(getErrorString(errorClass, errorCode));
            this.errorClass = errorClass;
            this.errorCode = errorCode;
        }
    
        @Override
        public String toString() {
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-16 01:32
    - 5K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/BaseTestHandler.kt

        inFinished: Boolean,
        streamId: Int,
        associatedStreamId: Int,
        headerBlock: List<Header>,
      ) {
        fail("")
      }
    
      override fun rstStream(
        streamId: Int,
        errorCode: ErrorCode,
      ) {
        fail("")
      }
    
      override fun settings(
        clearPrevious: Boolean,
        settings: Settings,
      ) {
        fail("")
      }
    
      override fun ackSettings() {
        fail("")
      }
    
    Created: 2026-04-03 11:42
    - Last Modified: 2024-12-27 13:39
    - 2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/SmbException.java

         * @param errorCode the SMB error code
         * @param severity the error severity
         * @param category the error category
         * @param cause the cause exception
         */
        public SmbException(String message, int errorCode, Severity severity, Category category, Throwable cause) {
            super(message, cause);
            this.errorCode = errorCode;
            this.severity = severity;
            this.category = category;
    Created: 2026-04-05 00:10
    - Last Modified: 2025-08-30 05:58
    - 6.4K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/StreamResetException.kt

    import java.io.IOException
    
    /** Thrown when an HTTP/2 stream is canceled without damage to the socket that carries it. */
    class StreamResetException(
      @JvmField val errorCode: ErrorCode,
    Created: 2026-04-03 11:42
    - Last Modified: 2024-12-27 13:39
    - 869 bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/llm/LlmException.java

            super(message, cause);
            errorCode = ERROR_UNKNOWN;
        }
    
        /**
         * Creates a new exception with the specified message and error code.
         *
         * @param message the error message
         * @param errorCode the error code
         */
        public LlmException(final String message, final String errorCode) {
            super(message);
            this.errorCode = errorCode;
        }
    
        /**
    Created: 2026-03-31 13:07
    - Last Modified: 2026-03-07 01:53
    - 3.5K bytes
    - Click Count (0)
Back to Top