* @throws ECARException
* @throws SemanticValidationException
*/
private void levantaExcecao(int codMotivo,String[] msgs, IBusinessObject iBusinessObject,int linha, Exception ex) throws ECARException, SemanticValidationException {
Dao dao = new Dao();
MotivoRejeicaoMtr motivoRejeicaoMtr = (MotivoRejeicaoMtr)dao.buscar(MotivoRejeicaoMtr.class, new Long(codMotivo));
SemanticValidationException semantic = new SemanticValidationException(ex, msgs, motivoRejeicaoMtr, iBusinessObject, new Long(linha));
throw semantic;
}