makeusabrew/jaoss

Controller::init() mechanism is poor

Closed this issue · 2 comments

need to refactor this logic - simply returning "OK" is very flimsy - and the mechanism to handle anything !== "OK" is too crude. Should have some way of instead flagging that init has failed and setting an appropriate alternative response.

Duh - throw an exception

refactoring controller init to throw exception, closed by 7811394