[ 1679692 ] fireDocValidate doesn't treat exceptions as errors
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=1679692&group_id=176962
This commit is contained in:
parent
17e0d5c294
commit
96396c0d8c
|
@ -286,7 +286,12 @@ public class ModelValidationEngine
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
log.log(Level.SEVERE, validator.toString(), e);
|
||||
// Exeptions are errors and should stop the document processing - teo_sarca [ 1679692 ]
|
||||
// log.log(Level.SEVERE, validator.toString(), e);
|
||||
String error = e.getMessage();
|
||||
if (error == null)
|
||||
error = e.toString();
|
||||
return error;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue