Foi melhorado a mensagem. fixes bug#9981

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@75557 d1611594-4594-4d17-8e1d-87c2c4800839
master
gleimar 2017-10-23 18:34:51 +00:00
parent 9a5338fb26
commit 093f8cf398
1 changed files with 4 additions and 0 deletions

View File

@ -541,6 +541,10 @@ public class EditarTramosController extends MyGenericForwardComposer {
} }
} catch (WrongValueException ex) { } catch (WrongValueException ex) {
throw (WrongValueException) ex; throw (WrongValueException) ex;
} catch (BusinessException ex) {
log.error(ex);
Messagebox.show(ex.getLocalizedMessage(),
Labels.getLabel("editarTramosController.window.title"), Messagebox.OK, Messagebox.ERROR);
} catch (Exception ex) { } catch (Exception ex) {
log.error(ex); log.error(ex);
Messagebox.show(Labels.getLabel("MSG.Error"), Messagebox.show(Labels.getLabel("MSG.Error"),