Exception thrown, instead of bool return