How can I throw an exception from an enum constructor? eg:
public enum RLoader {
INSTANCE;
private RLoader() throws IOException {
....
}
}
produces the error
See Question&Answers more detail:osUnhandled exception type IOException