Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getStatusCode (0.29 sec)

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

            assertEquals(400, exception1.getStatusCode());
            assertEquals(401, exception2.getStatusCode());
            assertEquals(500, exception3.getStatusCode());
    
            assertTrue(exception1.getStatusCode() != exception2.getStatusCode());
            assertTrue(exception2.getStatusCode() != exception3.getStatusCode());
        }
    
        public void test_exceptionWithLongMessage() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/WebApiException.java

         */
        private final int statusCode;
    
        /**
         * Gets the HTTP status code associated with this exception.
         *
         * @return The HTTP status code
         */
        public int getStatusCode() {
            return statusCode;
        }
    
        /**
         * Constructs a WebApiException with the specified status code, message, and cause.
         *
         * @param statusCode The HTTP status code
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top