Uses of Class
org.apache.velocity.exception.VelocityException
-
Packages that use VelocityException Package Description org.apache.velocity.exception org.apache.velocity.spring -
-
Uses of VelocityException in org.apache.velocity.exception
Subclasses of VelocityException in org.apache.velocity.exception Modifier and Type Class Description class
MacroOverflowException
Application-level exception thrown when macro calls within macro calls exceeds the maximum allowed depth.class
MathException
Separate exception class to distinguish math problems.class
MethodInvocationException
Application-level exception thrown when a reference method is invoked and an exception is thrown.class
ParseErrorException
Application-level exception thrown when a resource of any type has a syntax or other error which prevents it from being parsed.class
ResourceNotFoundException
Application-level exception thrown when a resource of any type isn't found by the Velocity engine.class
TemplateInitException
Exception generated to indicate parse errors caught during directive initialization (e.g.Constructors in org.apache.velocity.exception with parameters of type VelocityException Constructor Description ParseErrorException(VelocityException pex, String templName)
Create a ParseErrorException with the given ParseException. -
Uses of VelocityException in org.apache.velocity.spring
Methods in org.apache.velocity.spring that throw VelocityException Modifier and Type Method Description void
VelocityEngineFactoryBean. afterPropertiesSet()
VelocityEngine
VelocityEngineFactory. createVelocityEngine()
Prepare the VelocityEngine instance and return it.static void
VelocityEngineUtils. mergeTemplate(VelocityEngine velocityEngine, String templateLocation, String encoding, Map<String,Object> model, Writer writer)
Merge the specified Velocity template with the given model and write the result to the given Writer.static void
VelocityEngineUtils. mergeTemplate(VelocityEngine velocityEngine, String templateLocation, Map<String,Object> model, Writer writer)
Deprecated.UseVelocityEngineUtils.mergeTemplate(VelocityEngine, String, String, Map, Writer)
instead, following Velocity 1.6's corresponding deprecation in its own API.static String
VelocityEngineUtils. mergeTemplateIntoString(VelocityEngine velocityEngine, String templateLocation, String encoding, Map<String,Object> model)
Merge the specified Velocity template with the given model into a String.static String
VelocityEngineUtils. mergeTemplateIntoString(VelocityEngine velocityEngine, String templateLocation, Map<String,Object> model)
Deprecated.UseVelocityEngineUtils.mergeTemplateIntoString(VelocityEngine, String, String, Map)
instead, following Velocity 1.6's corresponding deprecation in its own API.protected VelocityEngine
VelocityEngineFactory. newVelocityEngine()
Return a new VelocityEngine.protected void
VelocityEngineFactory. postProcessVelocityEngine(VelocityEngine velocityEngine)
To be implemented by subclasses that want to perform custom post-processing of the VelocityEngine after this FactoryBean performed its default configuration (but before VelocityEngine.init).
-