When checked exceptions are thrown from methods in a constructor that the constructor can’t handle is it okay to catch them and throw them back out as a runtime exception if your sure the application can’t handle it and will be useless without the object being constructed?
When checked exceptions are thrown from methods in a constructor that the constructor can’t
Share
Yes, this is inevitable in many constructors anyway when they call other methods since there is always a possibility that they will already throw unchecked exceptions.