- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for ErrorCode (0.11 seconds)
-
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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
frame.writeInt(ErrorCode.PROTOCOL_ERROR.httpCode) reader.nextFrame( requireSettings = false, object : BaseTestHandler() { override fun rstStream( streamId: Int, errorCode: ErrorCode, ) { assertThat(streamId).isEqualTo(expectedStreamId) assertThat(errorCode).isEqualTo(ErrorCode.PROTOCOL_ERROR) } }, )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 28.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
*/ fun closeLater(errorCode: ErrorCode) { if (!closeInternal(errorCode, null)) { return // Already closed. } connection.writeSynResetLater(id, errorCode) } /** Returns true if this stream was closed. */ private fun closeInternal( errorCode: ErrorCode, errorException: IOException?, ): Boolean { assertLockNotHeld() withLock {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 07 18:57:05 GMT 2025 - 22.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
* underlying input and output streams and shuts down internal task queues. */ override fun close() { close(ErrorCode.NO_ERROR, ErrorCode.CANCEL, null) } internal fun close( connectionCode: ErrorCode, streamCode: ErrorCode, cause: IOException?, ) { assertLockNotHeld() ignoreIoExceptions { shutdown(connectionCode) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt
fun rstStream( streamId: Int, errorCode: ErrorCode, ) { withLock { if (closed) throw IOException("closed") require(errorCode.httpCode != -1) frameHeader( streamId = streamId, length = 4, type = TYPE_RST_STREAM, flags = FLAG_NONE, ) sink.writeInt(errorCode.httpCode) sink.flush() } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 11K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
if (streamId == 0) throw IOException("TYPE_RST_STREAM streamId == 0") val errorCodeInt = source.readInt() val errorCode = ErrorCode.fromHttp2(errorCodeInt) ?: throw IOException( "TYPE_RST_STREAM unexpected error code: $errorCodeInt", ) handler.rstStream(streamId, errorCode) } @Throws(IOException::class) private fun readSettings( handler: Handler, length: Int,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 19.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
public void onError(final String phase, final String errorCode) { try { sendSseEvent(writer, "error", Map.of("phase", phase, "message", errorCode, "errorCode", errorCode)); if (logger.isDebugEnabled()) { logger.debug("SSE error event sent. phase={}, error={}", phase, errorCode); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
internal/s3select/message.go
binary.Write(buf, binary.BigEndian, uint16(len(errorCode))) buf.Write(errorCode) return genMessage(buf.Bytes(), nil) } // NewErrorMessage - creates new Request Level Error Message specified in // https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectSELECTContent.html. func NewErrorMessage(errorCode, errorMessage string) []byte { return newErrorMessage([]byte(errorCode), []byte(errorMessage)) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 15.3K bytes - Click Count (0) -
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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
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)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.7K bytes - Click Count (0)