更新时间:2023-08-23 20:39:28
context.put("exceptionThrower", new ExceptionThrower());
public class ExceptionThrower {
public void throwUserDefined() {
throw new UserDefinedException();
}
}
#if ($whatever)
$exceptionThrower.throwUserDefined()
#else
blah blah
#end