diff --git a/source/java/src/org/lucee/extension/image/functions/ImageSharpen.java b/source/java/src/org/lucee/extension/image/functions/ImageSharpen.java index 8e49eda..b24fdc8 100644 --- a/source/java/src/org/lucee/extension/image/functions/ImageSharpen.java +++ b/source/java/src/org/lucee/extension/image/functions/ImageSharpen.java @@ -35,7 +35,7 @@ public static String call(PageContext pc, Object name, double gain) throws PageE if (gain < -1.0 || gain > 2.0) throw CFMLEngineFactory.getInstance().getExceptionUtil() - .createFunctionException(pc,"ImageSharpen",2,"gain","value must be between 1 and 2",null); + .createFunctionException(pc, "ImageSharpen", 2, "gain", "value must be between -1 and 2", null); img.sharpen((float)gain); return null; }