Permalink
Browse files

Edit exception message.

  • Loading branch information...
1 parent 275fc7c commit 31126ecf3ff01e7068f448fab8ee2b2b78bbd092 Martin Roth committed Mar 18, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/synthbot/audioplugin/vst/vst2/JVstHost20.java
@@ -212,7 +212,7 @@ public synchronized void setParameter(int index, float value) {
throw new IndexOutOfBoundsException("Parameter index, " + index + ", must be between 0 and " + numParameters);
}
if (value < 0f || value > 1f) {
- throw new IllegalArgumentException("Parameter values are bounded between 0 and 1.");
+ throw new IllegalArgumentException("Parameter values are bounded to [0, 1]: " + value);
}
setParameter(index, value, vstPluginPtr);
}

0 comments on commit 31126ec

Please sign in to comment.