In the @PostConstruct doc it says about the annotated methods:
\"The method MUST NOT throw a checked exception.\"
How would one deal with e.g. an I
Yes, wrap it in a runtime exception. Preferebly something more concrete like IllegalStateException.
IllegalStateException
Note that if the init method fails, normally the application won't start.