replaced Exception with IOException

master
melvin 2011-08-03 13:46:27 +08:00
parent 502074c0ba
commit 321c75b207
1 changed files with 2 additions and 3 deletions

View File

@ -2,8 +2,7 @@ package magic.data;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.IOException;
import java.util.Arrays;
import java.util.Vector;
@ -43,7 +42,7 @@ public class AvatarImages {
BufferedImage image;
try {
image=ImageIO.read(file);
} catch (final Exception ex) {
} catch (final IOException ex) {
image=IconImages.MISSING;
}
return new PlayerAvatar(image);