Return a value from value() when exception is thrown, to avoid compiler error