Yes, wrap it in a runtime exception. Preferebly something more concrete like IllegalStateException
.
Note that if the init method fails, normally the application won’t start.
Yes, wrap it in a runtime exception. Preferebly something more concrete like IllegalStateException
.
Note that if the init method fails, normally the application won’t start.