Moved FinalFailureException so it can be properly consumed by external libraries.