Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ErrorMessage (0.05 sec)

  1. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String errorMessage = "LDAP server not reachable";
    
            try {
                throw new LdapConfigurationException(errorMessage);
            } catch (LdapConfigurationException e) {
                assertEquals(errorMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

         * Test the constructor with a message.
         */
        @Test
        void testMessageConstructor() {
            String errorMessage = "This is a test error message.";
            PACDecodingException e = new PACDecodingException(errorMessage);
            // Expect the message to be set correctly and cause to be null
            assertEquals(errorMessage, e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
         * Test the constructor with a cause.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

        public void test_constructor_withServletException() {
            // Create a ServletException with a message
            String errorMessage = "Test servlet error message";
            ServletException servletException = new ServletException(errorMessage);
    
            // Wrap it in ServletRuntimeException
            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            final String errorMessage = "Data store operation failed";
    
            try {
                throw new DataStoreException(errorMessage);
            } catch (DataStoreException e) {
                assertEquals(errorMessage, e.getMessage());
                assertNull(e.getCause());
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            // Test that message is inherited from the cause
            String errorMessage = "Invalid query syntax";
            ParseException parseException = new ParseException(errorMessage);
            QueryParseException queryParseException = new QueryParseException(parseException);
    
            assertEquals("org.apache.lucene.queryparser.classic.ParseException: " + errorMessage, queryParseException.getMessage());
        }
    
        public void test_getCause() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            // Setup mock SearchLogHelper that throws exception
            final String errorMessage = "Test exception occurred";
            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
                @Override
                public void storeSearchLog() {
                    throw new RuntimeException(errorMessage);
                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            }
            final String errorMessage = longMessage.toString();
    
            // Create mock SearchEngineClient that throws exception with long message
            searchEngineClient = new SearchEngineClient() {
                @Override
                public long deleteByQuery(String index, QueryBuilder query) {
                    throw new RuntimeException(errorMessage);
                }
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                }
            }
    
            // Provide more detailed error information
            String errorMessage = "SMB server did not become ready within timeout";
            if (lastException != null) {
                errorMessage += ". Last error: " + lastException.getMessage();
            }
            throw new RuntimeException(errorMessage, lastException);
        }
    
        private void deleteRecursively(SmbFile file) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    	if err != nil {
    		if serr, ok := err.(s3select.SelectError); ok {
    			encodedErrorResponse := encodeResponse(APIErrorResponse{
    				Code:       serr.ErrorCode(),
    				Message:    serr.ErrorMessage(),
    				BucketName: bucket,
    				Key:        object,
    				Resource:   r.URL.Path,
    				RequestID:  w.Header().Get(xhttp.AmzRequestID),
    				HostID:     globalDeploymentID(),
    			})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top