Imported ApiException class.