* @throws Exception
*/
public static Contract getContract(IDestecsProject project,
IAddErrorHandler errorHandler) throws Exception
{
ContractParserWrapper contractParser = new ContractParserWrapper();
Contract contract = (Contract) parse(contractParser,
project.getContractFile(), errorHandler);
return contract;
}