For example, many methods in frameworks/JDK might throw
java.lang.SecurityException
but this is not indicated in the method signature (si
In my view unchecked exceptions should never be declared in the method signature as that is contrary to their nature.
If, however, a method is likely to throw some unchecked exceptions noting the likely circumstances in @throws in Javadoc can be helpful for others invoking the method in understanding what can go wrong. This is only useful though for exceptions that the callers is likely to be able to handle (such as a NPE due to bad input etc.)