Is there a way to get Eclipse to suppress errors for a missing throws
declaration when throwing exceptions within methods?
If you are to build and run something without explicitly specifying throws
, it will unwind to the main
method and crash the program (which is what I want in this particular case). There are certain exceptions that do it, such as sun.reflect.generics.reflectiveObjects.NotImplementedException
, which allows you to throw it without needing to specify throws
.