- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 834 for onerror (0.07 sec)
-
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", result.getMessage(), "Should return correct error message for code 2"); } @Test @DisplayName("getResult should return exception for error code 3") void testGetResultError3() throws Exception { // Given setResultField(bind, 3);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
Throwable ioCause = new java.io.IOException("IO error"); GsaConfigException ioException = new GsaConfigException("GSA IO error", ioCause); assertNotNull(ioException); assertTrue(ioException.getCause() instanceof java.io.IOException); // Test with custom exception Throwable customCause = new FessSystemException("Custom Fess error");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
when(mockChannelManager.getLoadBalancer()).thenReturn(mockLoadBalancer); } @Test void testHandleFailure() { IOException error = new IOException("Connection failed"); failover.handleFailure(failedChannel, error); assertEquals(ChannelState.FAILED, failedChannel.getState()); verify(mockChannelManager).removeChannel(failedChannel); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/error/ErrorBadrequrestAction.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/error/redirect.jsp
<% Integer statusCode = (Integer)request.getAttribute("jakarta.servlet.error.status_code"); String servletName = (String)request.getAttribute("jakarta.servlet.error.servlet_name"); String requestUri = (String)request.getAttribute("jakarta.servlet.error.request_uri"); String type = request.getParameter("type"); StringBuilder redirectPage = new StringBuilder(); redirectPage.append(((jakarta.servlet.http.HttpServletRequest)request).getContextPath());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Dec 23 06:18:48 UTC 2023 - 1.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/error/redirect.jsp
<% Integer statusCode = (Integer)request.getAttribute("jakarta.servlet.error.status_code"); String servletName = (String)request.getAttribute("jakarta.servlet.error.servlet_name"); String requestUri = (String)request.getAttribute("jakarta.servlet.error.request_uri"); String type = request.getParameter("type"); StringBuilder redirectPage = new StringBuilder(); redirectPage.append(((jakarta.servlet.http.HttpServletRequest)request).getContextPath());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Dec 23 06:18:48 UTC 2023 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
// Test with URL, message, exception, and abort set to true String url = "http://example.com/test2"; String message = "Critical error message"; Exception cause = new IllegalStateException("Critical error"); boolean abort = true; DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause, abort);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
} } } void treeDisconnect(final boolean inError) { synchronized (session.transport()) { if (connectionState != 2) { // not-connected return; } connectionState = 3; // disconnecting if (!inError && tid != 0) { try { send(new SmbComTreeDisconnect(), null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
} @Test @DisplayName("Should identify error status codes") void testErrorStatusIdentification() { // Given int[] errorStatuses = { NtStatus.NT_STATUS_ACCESS_DENIED, NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND, NtStatus.NT_STATUS_SHARING_VIOLATION }; // When/Then - All error codes should have high bit set (0xC prefix) for (int status : errorStatuses) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* <code>false</code> otherwise * @throws CIFSException if an error occurs accessing the resource */ boolean exists() throws CIFSException; /** * Fetch a child resource * * @param name the name of the child resource to resolve * @return the child resource * @throws CIFSException if an error occurs accessing the resource */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1)