Use the new interfaces that throw exceptions