Better exception (no CDI dependency).