ConvertCmd.run() throws IndexOutOfBoundsException with ImageMagick-6.7.0-10.
"finished" function tries to fetch error description from iErrorText if pReturnCode > 0.
But actually iErrorText's size is 0 and iErrorText.get(0) should always throw IndexOutOfBoundsException.
Adding to above, I want to know the error code at least, if there's no error description available.
Sadly, there's no interface like that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ConvertCmd.run() throws IndexOutOfBoundsException with ImageMagick-6.7.0-10.
"finished" function tries to fetch error description from iErrorText if pReturnCode > 0.
But actually iErrorText's size is 0 and iErrorText.get(0) should always throw IndexOutOfBoundsException.
Adding to above, I want to know the error code at least, if there's no error description available.
Sadly, there's no interface like that.
Thanks for the hint. I will fix this in the next release. I will add a field for the error code to the CommandException.
Bernhard