public List<ValidationMessage> validate( final Path path,
final GlobalsModel content ) {
try {
return genericValidator.validate( path,
new ByteArrayInputStream( GlobalsPersistence.getInstance().marshal( content ).getBytes() ),
new JavaFileFilter() );
} catch ( Exception e ) {
throw ExceptionUtilities.handleException( e );
}
}