Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for methodThatThrowsException (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

         */
        public void test_exceptionInMethod() {
            try {
                methodThatThrowsException();
                fail("Should have thrown CrawlerSystemException");
            } catch (CrawlerSystemException e) {
                assertEquals("Method exception", e.getMessage());
            }
        }
    
        private void methodThatThrowsException() {
            throw new CrawlerSystemException("Method exception");
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top