From 992fc3e25a1c4f2f39a3f3bb6f588cccf4cc4de3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garcia=20Nu=C3=B1ez?= Date: Fri, 20 Dec 2019 17:58:34 +0100 Subject: [PATCH] =?UTF-8?q?Configruaci=C3=B3n=20de=20excepciones=20y=20red?= =?UTF-8?q?irecci=C3=B3n=20a=20p=C3=A1gina=20de=20errores.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1.sources/MyHealth/docroot/WEB-INF/web.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/1.sources/MyHealth/docroot/WEB-INF/web.xml b/1.sources/MyHealth/docroot/WEB-INF/web.xml index a11b61e..ee6d555 100644 --- a/1.sources/MyHealth/docroot/WEB-INF/web.xml +++ b/1.sources/MyHealth/docroot/WEB-INF/web.xml @@ -69,10 +69,11 @@ java.sql.SQLException org.hibernate.exception.GenericJDBCException java.net.ConnectException + javax.persistence.PersistenceException /error.xhtml?type=sql - java.lang.RuntimeException + javax.persistence.PersistenceException /error.xhtml?type=runtime