public IllegalArgumentException unsupportedParameterType(String parameterName, Object param, Class<?> expectedType) {
return new IllegalArgumentException(exceptionMessage("011", "Unsupported parameter '{}' of type '{}'. Expected type '{}'.", parameterName, param.getClass(), expectedType.getName()));
}
public SpinScriptException noScriptEnvFoundForLanguage(String scriptLanguage, String path) {
return new SpinScriptException(exceptionMessage("012", "No script script env found for script language '{}' at path '{}'", scriptLanguage, path));
}