print stack trace when lookup of model validation class failed
This commit is contained in:
parent
30592896e0
commit
84bcf74e36
|
@ -96,8 +96,7 @@ public class ModelValidationEngine
|
|||
} catch (Exception e)
|
||||
{
|
||||
//logging to db will try to init ModelValidationEngine again!
|
||||
//log.warning(e.getLocalizedMessage());
|
||||
// System.err.println(e.getLocalizedMessage());
|
||||
e.printStackTrace();
|
||||
missingModelValidationMessage = missingModelValidationMessage + e.toString() + " global" + '\n';
|
||||
}
|
||||
|
||||
|
@ -135,8 +134,7 @@ public class ModelValidationEngine
|
|||
catch (Exception e)
|
||||
{
|
||||
//logging to db will try to init ModelValidationEngine again!
|
||||
//log.log(Level.SEVERE, className + ": " + e.getMessage());
|
||||
// System.err.println(className + ": " + e.getMessage());
|
||||
e.printStackTrace();
|
||||
missingModelValidationMessage = missingModelValidationMessage + e.toString() + " on client " + client.getName() + '\n';
|
||||
}
|
||||
}
|
||||
|
@ -153,8 +151,7 @@ public class ModelValidationEngine
|
|||
catch (Exception e)
|
||||
{
|
||||
//logging to db will try to init ModelValidationEngine again!
|
||||
//log.log(Level.SEVERE, className + ": " + e.getMessage());
|
||||
// System.err.println(e.toString());
|
||||
e.printStackTrace();
|
||||
missingModelValidationMessage = missingModelValidationMessage + e.toString() +
|
||||
(client != null ? (" on client " + client.getName()) : " global") + '\n';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue