Validates a pattern, a TemplateException is thrown if validation fails.
@param pattern the template pattern to validate
@throws TemplateException if the pattern is invalid
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.