Error happened in Phase::setup, not Phase::read. Corrected exception arguments.
Bug fix: Code segfaulted without pair creator. Added check for existence of a pair creator and exception if missing.