Description
If a method call throws a java.lang.Error, Velocity wraps it in a MethodInvocationException, which itself is not a java.lang.Error.
The spec says: "An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch."
Wrapping the error hides it from applications and makes it difficult to handle.