- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for throwUnchecked (0.07 sec)
-
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"); } } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0)