Restored original constructor to InvalidPartException.