- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 124 for errorCodes (0.05 seconds)
-
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: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
// Arrange String server = "testServer"; int access = 123; int errorCode = 12345; doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = errorCode; // Simulate RPC error return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceException.java
/** * Creates a resource exception * * @param message the error message * @param errorCode the SMB error code * @param resourceType the type of resource */ public SmbResourceException(String message, int errorCode, ResourceType resourceType) { super(message, errorCode, Severity.TRANSIENT, Category.RESOURCE); this.resourceType = resourceType; this.availableResources = -1;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 5.6K 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/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/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
connection.newStream(headerEntries("b", "banana"), false) // Verify the peer received what was expected. assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_HEADERS) assertThat(peer.takeFrame().errorCode).isEqualTo(ErrorCode.PROTOCOL_ERROR) } @Test fun pushPromiseStreamsAutomaticallyCancel() { // Write the mocking script. peer.sendFrame().settings(Settings()) peer.acceptFrame() // ACK peer
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
this.data = source.readByteString(length.toLong()).toByteArray() } override fun rstStream( streamId: Int, errorCode: ErrorCode, ) { check(type == -1) this.type = Http2.TYPE_RST_STREAM this.streamId = streamId this.errorCode = errorCode } override fun ping( ack: Boolean, payload1: Int, payload2: Int, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K 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) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
*/ @Test void testConstructorWithError_knownCode() { int errorCode = DcerpcError.DCERPC_FAULT_ACCESS_DENIED; DcerpcException exception = new DcerpcException(errorCode); assertEquals(errorCode, exception.getErrorCode(), "Error code should match the input."); assertTrue(exception.getMessage().contains("DCERPC_FAULT_ACCESS_DENIED"),Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
System.out.println(message); assertContains(message, "ErrorCode=7650"); assertContains(message, "SQLState=fooState"); assertContains(message, "some reason"); assertContains(message, "ErrorCode=7660"); assertContains(message, "SQLState=barState"); assertContains(message, "hoge reason"); assertContains(message, "ErrorCode=7670"); assertContains(message, "SQLState=bazState");
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.2K bytes - Click Count (0)