- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for throwUnchecked (0.06 seconds)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
// Should be instance of Throwable assertTrue(exception instanceof Throwable); // Should not require try-catch (unchecked exception) throwUnchecked(); // This compiles without try-catch } private void throwUnchecked() { if (Math.random() > 1) { // Never true, but compiler doesn't know throw new CrawlerSystemException("Unchecked"); } } /**Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Sep 03 14:42:53 GMT 2025 - 20K bytes - Click Count (0)