task_24792 #7
|
@ -132,7 +132,8 @@ public class CatalogueResolver {
|
|||
|
||||
if (!(e instanceof WebApplicationException)) {
|
||||
// UNEXPECTED EXCEPTION managing it as WebApplicationException
|
||||
String error = "Error occurred on resolving the Catalgoue URL. Please, contact the support!";
|
||||
String error = "Error occurred on resolving the " + CatalogueResolver.class.getSimpleName()
|
||||
+ " URL. Please, contact the support!";
|
||||
if (e.getCause() != null)
|
||||
error += "\n\nCaused: " + e.getCause().getMessage();
|
||||
throw ExceptionManager.internalErrorException(req, error, this.getClass(), helpURI);
|
||||
|
@ -214,7 +215,8 @@ public class CatalogueResolver {
|
|||
|
||||
if (!(e instanceof WebApplicationException)) {
|
||||
// UNEXPECTED EXCEPTION managing it as WebApplicationException
|
||||
String error = "Error occurred on resolving the Analytics URL. Please, contact the support!";
|
||||
String error = "Error occurred on creating the " + CatalogueResolver.class.getSimpleName()
|
||||
+ " URL. Please, contact the support!";
|
||||
throw ExceptionManager.internalErrorException(req, error, this.getClass(), helpURI);
|
||||
}
|
||||
// ALREADY MANAGED AS WebApplicationExceptiongetItemCatalogueURLs
|
||||
|
|
|
@ -177,7 +177,7 @@ public class GeoportalResolver {
|
|||
|
||||
if (!(e instanceof WebApplicationException)) {
|
||||
// UNEXPECTED EXCEPTION managing it as WebApplicationException
|
||||
String error = "Error occurred on resolving the Catalgoue URL. Please, contact the support!";
|
||||
String error = "Error occurred on resolving the "+GeoportalResolver.class.getSimpleName()+" URL. Please, contact the support!";
|
||||
if (e.getCause() != null)
|
||||
error += "\n\nCaused: " + e.getCause().getMessage();
|
||||
throw ExceptionManager.internalErrorException(req, error, this.getClass(), helpURI);
|
||||
|
@ -281,7 +281,7 @@ public class GeoportalResolver {
|
|||
|
||||
if (!(e instanceof WebApplicationException)) {
|
||||
// UNEXPECTED EXCEPTION managing it as WebApplicationException
|
||||
String error = "Error occurred on resolving the Analytics URL. Please, contact the support!";
|
||||
String error = "Error occurred on creating the "+GeoportalResolver.class.getSimpleName()+" URL. Please, contact the support!";
|
||||
throw ExceptionManager.internalErrorException(req, error, this.getClass(), helpURI);
|
||||
}
|
||||
// ALREADY MANAGED AS WebApplicationExceptiongetItemCatalogueURLs
|
||||
|
|
Loading…
Reference in New Issue