Commit 61359a8561e0e31996f9d6df620bf028c1c8ac1f

Authored by andre guimaraes
1 parent 373bb75d

Correção de mensagem de erro.

src/main/java/br/gov/ans/integracao/sei/rest/SiparResource.java
... ... @@ -223,7 +223,7 @@ public class SiparResource {
223 223  
224 224 public void isProcessoSipar(String numeroDocumento, String anoDocumento, String digitoDocumento) throws ResourceNotFoundException{
225 225 if(dao.getDocumento(numeroDocumento, anoDocumento, digitoDocumento) == null){
226   - throw new ResourceNotFoundException(messages.getMessage("erro.processo.nao.pertence.sipar"));
  226 + throw new ResourceNotFoundException(messages.getMessage("erro.processo.nao.pertence.sipar",(numeroDocumento+anoDocumento+digitoDocumento)));
227 227 }
228 228 }
229 229  
... ...