2 ms·
You could just use throws Exception instead and check the error like Go does. Its a code smell in Java but so is a million exceptions in your method signature.
by jayd16 7y ago
You could just use throws Exception instead and check the error like Go does. Its a code smell in Java but so is a million exceptions in your method signature. Most libraries and apis will use a base exception type so keep this to a minimum.