private ThrowExceptionDefinitionRenderer() {
// Utility class, no public or protected default constructor
}
public static void render(StringBuilder buffer, ProcessorDefinition processor) {
ThrowExceptionDefinition throwExp = (ThrowExceptionDefinition)processor;
buffer.append(".").append(throwExp.getShortName()).append("(");
String expName = throwExp.getException().getClass().getSimpleName();
String msg = throwExp.getException().getMessage();
buffer.append("new ").append(expName).append("(\"").append(msg).append("\"))");
}