* Better error message in ImageToAwt.convert()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7437 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Sha..om 14 years ago
parent 5d4c279467
commit a4e97bd2d5
  1. 2
      engine/src/tools/jme3tools/converters/ImageToAwt.java

@ -209,7 +209,7 @@ public class ImageToAwt {
public static void convert(BufferedImage image, Format format, ByteBuffer buf){
DecodeParams p = params.get(format);
if (p == null)
throw new UnsupportedOperationException();
throw new UnsupportedOperationException("Image format " + format + " is not supported");
int width = image.getWidth();
int height = image.getHeight();

Loading…
Cancel
Save