commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1221410 - in /commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan: ./ common/bytesource/ formats/bmp/ formats/dcx/ formats/gif/ formats/icns/ formats/ico/ formats/jpeg/ formats/jpeg/exif/ formats/jpeg/iptc/ formats/jpeg...
Date Tue, 20 Dec 2011 18:29:34 GMT
Author: sebb
Date: Tue Dec 20 18:29:33 2011
New Revision: 1221410

URL: http://svn.apache.org/viewvc?rev=1221410&view=rev
Log:
Fix up unthrown Exceptions
- for Junit3 test methods, not point throwing anything other than Exception

Modified:
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/SanselanGuessFormatTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/common/bytesource/ByteSourceDataTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/common/bytesource/ByteSourceImageTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/bmp/BmpReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/bmp/BmpRoundtripTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/dcx/DcxReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/gif/GifReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/icns/IcnsReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/icns/IcnsRoundTripTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/ico/IcoReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/ico/IcoRoundtripTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/JpegReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/JpegWithJpegThumbnailTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/AsciiFieldTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifDumpTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifRewriteTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/SpecificExifTagTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/WriteExifMetadataExampleTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/iptc/IptcDumpTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/iptc/IptcUpdateTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/xmp/JpegXmpDumpTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/xmp/JpegXmpRewriteTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/pcx/PcxReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/ConvertPngToGifTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngMultipleRoundtripTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngTextTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngWriteForceTrueColorText.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngWriteReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffLzwTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffRoundtripTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/wbmp/WbmpReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xbm/XbmReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xmp/XmpDumpTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xmp/XmpUpdateTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xpm/XpmReadTest.java
    commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/roundtrip/RoundtripTest.java

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/SanselanGuessFormatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/SanselanGuessFormatTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/SanselanGuessFormatTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/SanselanGuessFormatTest.java Tue Dec 20 18:29:33 2011
@@ -18,10 +18,8 @@
 package org.apache.commons.sanselan;
 
 import java.io.File;
-import java.io.IOException;
 import org.apache.commons.io.FilenameUtils;
 import org.apache.commons.sanselan.ImageFormat;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 
 public class SanselanGuessFormatTest extends SanselanTest {
@@ -39,7 +37,8 @@ public class SanselanGuessFormatTest ext
     public static final String PPM_IMAGE_FILE = "pbm\\1\\Oregon Scientific DS6639 - DSC_0307 - small.ppm";
     public static final String TGA_IMAGE_FILE = "tga\\1\\Oregon Scientific DS6639 - DSC_0307 - small.tga";
 
-    public void testGuess_all() throws IOException, ImageReadException {
+    public void testGuess_all() throws Exception
+    {
         testGuess(ImageFormat.IMAGE_FORMAT_PNG, PNG_IMAGE_FILE);
         testGuess(ImageFormat.IMAGE_FORMAT_GIF, GIF_IMAGE_FILE);
         testGuess(ImageFormat.IMAGE_FORMAT_ICNS, ICNS_IMAGE_FILE);
@@ -61,12 +60,12 @@ public class SanselanGuessFormatTest ext
 
     public static final String UNKNOWN_IMAGE_FILE = "jpg\\1\\info.txt";
 
-    public void testGuess_unknown() throws IOException, ImageReadException {
+    public void testGuess_unknown() throws Exception {
         testGuess(ImageFormat.IMAGE_FORMAT_UNKNOWN, UNKNOWN_IMAGE_FILE);
     }
 
-    public void testGuess(ImageFormat expectedFormat, String imagePath)
-            throws IOException, ImageReadException {
+    public void testGuess(ImageFormat expectedFormat, String imagePath) throws Exception
+    {
         imagePath = FilenameUtils.separatorsToSystem(imagePath);
         File imageFile = new File(TEST_IMAGE_FOLDER, imagePath);
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/common/bytesource/ByteSourceDataTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/common/bytesource/ByteSourceDataTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/common/bytesource/ByteSourceDataTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/common/bytesource/ByteSourceDataTest.java Tue Dec 20 18:29:33 2011
@@ -122,7 +122,7 @@ public class ByteSourceDataTest extends 
 
     }
 
-    public void test() throws IOException
+    public void test() throws Exception
     {
         ByteSourceFactory byteSourceFactories[] = {
                 new ByteSourceFileFactory(),

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/common/bytesource/ByteSourceImageTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/common/bytesource/ByteSourceImageTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/common/bytesource/ByteSourceImageTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/common/bytesource/ByteSourceImageTest.java Tue Dec 20 18:29:33 2011
@@ -38,9 +38,7 @@ import org.apache.commons.sanselan.util.
 public class ByteSourceImageTest extends ByteSourceTest
 {
 
-    public void test() throws IOException, ImageReadException,
-            IllegalAccessException, IllegalArgumentException,
-            InvocationTargetException
+    public void test() throws Exception
     {
         List imageFiles = getTestImages();
         for (int i = 0; i < imageFiles.size(); i++)
@@ -96,8 +94,7 @@ public class ByteSourceImageTest extends
         }
     }
 
-    public void checkGetBufferedImage(File file, byte[] bytes)
-            throws IOException, ImageReadException
+    public void checkGetBufferedImage(File file, byte[] bytes) throws Exception
     {
         BufferedImage imageFile = Sanselan.getBufferedImage(file);
         assertNotNull(imageFile);
@@ -113,8 +110,7 @@ public class ByteSourceImageTest extends
         assertTrue(imageFileHeight == imageBytes.getHeight());
     }
 
-    public void checkGetImageSize(File imageFile, byte[] imageFileBytes)
-            throws IOException, ImageReadException
+    public void checkGetImageSize(File imageFile, byte[] imageFileBytes) throws Exception
     {
         Dimension imageSizeFile = Sanselan.getImageSize(imageFile);
         assertNotNull(imageSizeFile);
@@ -127,8 +123,7 @@ public class ByteSourceImageTest extends
         assertTrue(imageSizeFile.height == imageSizeBytes.height);
     }
 
-    public void checkGuessFormat(File imageFile, byte[] imageFileBytes)
-            throws IOException, ImageReadException
+    public void checkGuessFormat(File imageFile, byte[] imageFileBytes) throws Exception
     {
         // check guessFormat()
         ImageFormat imageFormatFile = Sanselan.guessFormat(imageFile);
@@ -144,8 +139,7 @@ public class ByteSourceImageTest extends
         assertTrue(imageFormatBytes == imageFormatFile);
     }
 
-    public void checkGetICCProfileBytes(File imageFile, byte[] imageFileBytes)
-            throws IOException, ImageReadException
+    public void checkGetICCProfileBytes(File imageFile, byte[] imageFileBytes)  throws Exception
     {
         // check guessFormat()
         byte iccBytesFile[] = Sanselan.getICCProfileBytes(imageFile);

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/bmp/BmpReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/bmp/BmpReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/bmp/BmpReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/bmp/BmpReadTest.java Tue Dec 20 18:29:33 2011
@@ -19,13 +19,11 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -33,7 +31,7 @@ import org.apache.commons.sanselan.util.
 public class BmpReadTest extends BmpBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         Debug.debug("start");
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/bmp/BmpRoundtripTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/bmp/BmpRoundtripTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/bmp/BmpRoundtripTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/bmp/BmpRoundtripTest.java Tue Dec 20 18:29:33 2011
@@ -72,46 +72,38 @@ public class BmpRoundtripTest extends Bm
         return result;
     }
 
-     public void testSmallBlackPixels() throws IOException,
-     ImageReadException,
-     ImageWriteException
+     public void testSmallBlackPixels() throws Exception
      {
      int[][] smallBlackPixels = getSimpleRawData(256, 256, 0);
      writeAndReadImageData(smallBlackPixels);
      }
 
-    public void testSingleBlackPixel() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testSingleBlackPixel() throws Exception
     {
         int[][] singleBlackPixel = getSimpleRawData(1, 1, 0);
         writeAndReadImageData(singleBlackPixel);
     }
 
 
-     public void testSmallRedPixels() throws IOException, ImageReadException,
-     ImageWriteException
+     public void testSmallRedPixels() throws Exception
      {
      int[][] smallRedPixels = getSimpleRawData(256, 256, 0xffff0000);
      writeAndReadImageData(smallRedPixels);
      }
 
-     public void testSingleRedPixel() throws IOException, ImageReadException,
-     ImageWriteException
+     public void testSingleRedPixel() throws Exception
      {
      int[][] singleRedPixel = getSimpleRawData(1, 1, 0xffff0000);
      writeAndReadImageData(singleRedPixel);
      }
 
-     public void testSmallAscendingPixels() throws IOException,
-     ImageReadException, ImageWriteException
+     public void testSmallAscendingPixels() throws Exception
      {
      int[][] smallAscendingPixels = getAscendingRawData(256, 256);
      writeAndReadImageData(smallAscendingPixels);
      }
 
-     public void testSmallRandomPixels() throws IOException,
-     ImageReadException,
-     ImageWriteException
+     public void testSmallRandomPixels() throws Exception
      {
      int[][] smallRandomPixels = randomRawData(256, 256);
      writeAndReadImageData(smallRandomPixels);

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/dcx/DcxReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/dcx/DcxReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/dcx/DcxReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/dcx/DcxReadTest.java Tue Dec 20 18:29:33 2011
@@ -19,13 +19,11 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -33,7 +31,7 @@ import org.apache.commons.sanselan.util.
 public class DcxReadTest extends DcxBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         Debug.debug("start");
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/gif/GifReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/gif/GifReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/gif/GifReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/gif/GifReadTest.java Tue Dec 20 18:29:33 2011
@@ -19,11 +19,9 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.List;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -31,7 +29,7 @@ import org.apache.commons.sanselan.util.
 public class GifReadTest extends GifBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         Debug.debug("start");
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/icns/IcnsReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/icns/IcnsReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/icns/IcnsReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/icns/IcnsReadTest.java Tue Dec 20 18:29:33 2011
@@ -19,13 +19,11 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -33,7 +31,7 @@ import org.apache.commons.sanselan.util.
 public class IcnsReadTest extends IcnsBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         Debug.debug("start");
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/icns/IcnsRoundTripTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/icns/IcnsRoundTripTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/icns/IcnsRoundTripTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/icns/IcnsRoundTripTest.java Tue Dec 20 18:29:33 2011
@@ -23,7 +23,6 @@ import java.io.File;
 import java.io.IOException;
 
 import org.apache.commons.sanselan.ImageReadException;
-import org.apache.commons.sanselan.ImageWriteException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.BinaryOutputStream;
 import org.apache.commons.sanselan.formats.icns.IcnsImageParser;
@@ -53,7 +52,7 @@ public class IcnsRoundTripTest extends I
         {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
     };
 
-    public void test1BPPIconMaskVersus8BPPMask() throws ImageReadException, ImageWriteException, IOException
+    public void test1BPPIconMaskVersus8BPPMask() throws Exception
     {
         final int foreground = 0xff000000;
         final int background = 0xff000000;
@@ -94,7 +93,7 @@ public class IcnsRoundTripTest extends I
                 baos.toByteArray(), foreground, background);
     }
 
-    public void test8BPPIcon8BPPMask() throws ImageReadException, ImageWriteException, IOException
+    public void test8BPPIcon8BPPMask() throws Exception
     {
         final int foreground = 0xff000000;
         final int background = 0x00cccccc;
@@ -133,8 +132,7 @@ public class IcnsRoundTripTest extends I
         writeAndReadImageData("8bpp-image-8bpp-mask", baos.toByteArray(), foreground, background);
     }
 
-    public void test8BPPIcon8BPPMaskVersus1BPPMask()
-            throws ImageReadException, ImageWriteException, IOException
+    public void test8BPPIcon8BPPMaskVersus1BPPMask() throws Exception
     {
         final int foreground = 0xff000000;
         final int background = 0x00cccccc;
@@ -197,8 +195,7 @@ public class IcnsRoundTripTest extends I
                 baos.toByteArray(), foreground, background);
     }
 
-    public void test8BPPIcon1BPPMaskVersus8BPPMask()
-            throws ImageReadException, ImageWriteException, IOException
+    public void test8BPPIcon1BPPMaskVersus8BPPMask() throws Exception
     {
         final int foreground = 0xff000000;
         final int background = 0x00cccccc;
@@ -261,7 +258,7 @@ public class IcnsRoundTripTest extends I
                 baos.toByteArray(), foreground, background);
     }
 
-    public void test8BPPIconNoMask() throws ImageReadException, ImageWriteException, IOException
+    public void test8BPPIconNoMask() throws Exception
     {
         final int foreground = 0xff000000;
         final int background = 0xffcccccc;
@@ -287,7 +284,7 @@ public class IcnsRoundTripTest extends I
         writeAndReadImageData("8bpp-image-no-mask", baos.toByteArray(), foreground, background);
     }
 
-    public void test32BPPMaskedIcon() throws ImageReadException, ImageWriteException, IOException
+    public void test32BPPMaskedIcon() throws Exception
     {
         final int foreground = 0xff000000;
         final int background = 0x000000ff;
@@ -348,7 +345,7 @@ public class IcnsRoundTripTest extends I
         writeAndReadImageData("32bpp-image-1bpp-mask", baos.toByteArray(), foreground, background);
     }
 
-    public void test32BPPHalfMaskedIcon() throws ImageWriteException, IOException
+    public void test32BPPHalfMaskedIcon() throws Exception
     {
         final int foreground = 0xff000000;
         final int background = 0xff0000ff;
@@ -406,7 +403,7 @@ public class IcnsRoundTripTest extends I
         assertTrue("ICNS file with corrupt mask didn't fail to parse", threw);
     }
 
-    public void test32BPPMaskMissingIcon() throws ImageReadException, ImageWriteException, IOException
+    public void test32BPPMaskMissingIcon() throws Exception
     {
         final int foreground = 0xff000000;
         final int background = 0xff0000ff;

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/ico/IcoReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/ico/IcoReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/ico/IcoReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/ico/IcoReadTest.java Tue Dec 20 18:29:33 2011
@@ -19,13 +19,11 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -33,7 +31,7 @@ import org.apache.commons.sanselan.util.
 public class IcoReadTest extends IcoBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         Debug.debug("start");
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/ico/IcoRoundtripTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/ico/IcoRoundtripTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/ico/IcoRoundtripTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/ico/IcoRoundtripTest.java Tue Dec 20 18:29:33 2011
@@ -280,8 +280,7 @@ public class IcoRoundtripTest extends Ic
         }
 
         public byte[] generate32bitRGBABitmap(int foreground, int background,
-                int paletteSize, boolean writeMask) throws IOException,
-                ImageWriteException
+                int paletteSize, boolean writeMask) throws IOException
         {
             ByteArrayOutputStream byteArrayStream = new ByteArrayOutputStream();
             BinaryOutputStream bos = new BinaryOutputStream(byteArrayStream,
@@ -318,7 +317,7 @@ public class IcoRoundtripTest extends Ic
     }
 
     private void writeICONDIR(BinaryOutputStream bos, int reserved, int type, int count)
-            throws IOException, ImageWriteException
+            throws IOException
     {
         bos.write2Bytes(reserved);
         bos.write2Bytes(type);
@@ -327,7 +326,7 @@ public class IcoRoundtripTest extends Ic
 
     private void writeICONDIRENTRY(BinaryOutputStream bos, int width, int height,
             int colorCount, int reserved, int planes, int bitCount, int bytesInRes)
-            throws IOException, ImageWriteException
+            throws IOException
     {
         bos.write(width);
         bos.write(height);
@@ -341,7 +340,7 @@ public class IcoRoundtripTest extends Ic
 
     private void writeBITMAPINFOHEADER(BinaryOutputStream bos, int width, int height,
             int colorPlanes, int bitCount, int compression, int colorsUsed,
-            int colorsImportant) throws IOException, ImageWriteException
+            int colorsImportant) throws IOException
     {
         // BITMAPINFOHEADER
         bos.write4Bytes(40); // biSize, always 40 for BITMAPINFOHEADER
@@ -357,7 +356,7 @@ public class IcoRoundtripTest extends Ic
         bos.write4Bytes(colorsImportant); // colors important
     }
 
-    public void testNormalIcons() throws IOException, ImageWriteException, ImageReadException
+    public void testNormalIcons() throws Exception
     {
         final int foreground = 0xFFF000E0;
         final int background = 0xFF102030;
@@ -381,7 +380,7 @@ public class IcoRoundtripTest extends Ic
         }
     }
 
-    public void testBadICONDIRENTRYIcons() throws IOException, ImageWriteException, ImageReadException
+    public void testBadICONDIRENTRYIcons() throws Exception
     {
         final int foreground = 0xFFF000E0;
         final int background = 0xFF102030;
@@ -413,7 +412,7 @@ public class IcoRoundtripTest extends Ic
         }
     }
 
-    public void testColorsUsed() throws IOException, ImageWriteException, ImageReadException
+    public void testColorsUsed() throws Exception
     {
         final int foreground = 0xFFF000E0;
         final int background = 0xFF102030;
@@ -437,7 +436,7 @@ public class IcoRoundtripTest extends Ic
         }
     }
 
-    public void testZeroColorPlanes() throws IOException, ImageWriteException
+    public void testZeroColorPlanes() throws Exception
     {
         final int foreground = 0xFFF000E0;
         final int background = 0xFF102030;
@@ -472,7 +471,7 @@ public class IcoRoundtripTest extends Ic
         }
     }
 
-    public void testBitfieldCompression() throws IOException, ImageWriteException, ImageReadException
+    public void testBitfieldCompression() throws Exception
     {
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         BinaryOutputStream bos = new BinaryOutputStream(baos,
@@ -491,7 +490,7 @@ public class IcoRoundtripTest extends Ic
                 0xFF0000FF, 0xFFFFFFFF);
     }
 
-    public void test32bitMask() throws IOException, ImageWriteException, ImageReadException
+    public void test32bitMask() throws Exception
     {
         final int foreground = 0xFFF000E0;
         final int background = 0xFF102030;
@@ -509,7 +508,7 @@ public class IcoRoundtripTest extends Ic
         writeAndReadImageData("16x16x32-no-mask", baos.toByteArray(), foreground, background);
     }
 
-    public void testAlphaVersusANDMask() throws IOException, ImageWriteException, ImageReadException
+    public void testAlphaVersusANDMask() throws Exception
     {
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         BinaryOutputStream bos = new BinaryOutputStream(baos,
@@ -526,7 +525,7 @@ public class IcoRoundtripTest extends Ic
                 0xFF000000, 0x00000000);
     }
 
-    public void testFullyTransparent32bitRGBA() throws IOException, ImageWriteException, ImageReadException
+    public void testFullyTransparent32bitRGBA() throws Exception
     {
         ByteArrayOutputStream baos = new ByteArrayOutputStream();
         BinaryOutputStream bos = new BinaryOutputStream(baos,

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/JpegReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/JpegReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/JpegReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/JpegReadTest.java Tue Dec 20 18:29:33 2011
@@ -18,13 +18,11 @@
 package org.apache.commons.sanselan.formats.jpeg;
 
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -32,7 +30,7 @@ import org.apache.commons.sanselan.util.
 public class JpegReadTest extends JpegBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         List images = getJpegImages();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/JpegWithJpegThumbnailTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/JpegWithJpegThumbnailTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/JpegWithJpegThumbnailTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/JpegWithJpegThumbnailTest.java Tue Dec 20 18:29:33 2011
@@ -19,11 +19,9 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.Map;
 
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.SanselanTest;
 import org.apache.commons.sanselan.common.IImageMetadata;
@@ -31,7 +29,8 @@ import org.apache.commons.sanselan.forma
 
 public class JpegWithJpegThumbnailTest extends SanselanTest {
 
-    public void testSingleImage() throws IOException, ImageReadException {
+    public void testSingleImage() throws Exception
+    {
         File imageFile = getTestImageByName("img_F028c_small.jpg");
 
         Map params = new HashMap();

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/AsciiFieldTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/AsciiFieldTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/AsciiFieldTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/AsciiFieldTest.java Tue Dec 20 18:29:33 2011
@@ -18,14 +18,12 @@
 package org.apache.commons.sanselan.formats.jpeg.exif;
 
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.Hashtable;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.formats.jpeg.JpegImageMetadata;
@@ -35,7 +33,8 @@ import org.apache.commons.sanselan.forma
 
 public class AsciiFieldTest extends ExifBaseTest implements AllTagConstants {
 
-    public void testSingleImage() throws IOException, ImageReadException {
+    public void testSingleImage() throws Exception
+    {
         File imageFile = getTestImageByName("Canon Powershot SD750 - 2007.12.26.n.IMG_3704.JPG");
 
         Map params = new HashMap();

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifDumpTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifDumpTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifDumpTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifDumpTest.java Tue Dec 20 18:29:33 2011
@@ -18,13 +18,10 @@
 package org.apache.commons.sanselan.formats.jpeg.exif;
 
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.commons.sanselan.ImageReadException;
-import org.apache.commons.sanselan.ImageWriteException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.bytesource.ByteSource;
 import org.apache.commons.sanselan.common.bytesource.ByteSourceFile;
@@ -39,8 +36,7 @@ public class ExifDumpTest extends ExifBa
     //        super(name);
     //    }
 
-    public void test() throws IOException, ImageReadException,
-            ImageWriteException
+    public void test() throws Exception
     {
         List images = getImagesWithExifData();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifRewriteTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifRewriteTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifRewriteTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/ExifRewriteTest.java Tue Dec 20 18:29:33 2011
@@ -51,8 +51,7 @@ public class ExifRewriteTest extends Exi
     //        super(name);
     //    }
 
-    public void testRemove() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testRemove() throws Exception
     {
         List images = getImagesWithExifData();
         for (int i = 0; i < images.size(); i++)
@@ -93,8 +92,7 @@ public class ExifRewriteTest extends Exi
         }
     }
 
-    public void testInsert() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testInsert() throws Exception
     {
         List images = getImagesWithExifData();
         for (int i = 0; i < images.size(); i++)
@@ -260,8 +258,7 @@ public class ExifRewriteTest extends Exi
         }
     }
 
-    public void testRewriteLossy() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testRewriteLossy() throws Exception
     {
         Rewriter rewriter = new Rewriter()
         {
@@ -277,8 +274,7 @@ public class ExifRewriteTest extends Exi
         rewrite(rewriter, "lossy");
     }
 
-    public void testRewriteLossless() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testRewriteLossless() throws Exception
     {
         Rewriter rewriter = new Rewriter()
         {

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/SpecificExifTagTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/SpecificExifTagTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/SpecificExifTagTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/SpecificExifTagTest.java Tue Dec 20 18:29:33 2011
@@ -42,15 +42,13 @@ public abstract class SpecificExifTagTes
     //        super(name);
     //    }
 
-    public void testSingleImage() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testSingleImage() throws Exception
     {
         File imageFile = getImageWithExifData();
         checkImage(imageFile);
     }
 
-    public void testAllImages() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testAllImages() throws Exception
     {
         List images = getImagesWithExifData();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/WriteExifMetadataExampleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/WriteExifMetadataExampleTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/WriteExifMetadataExampleTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/exif/WriteExifMetadataExampleTest.java Tue Dec 20 18:29:33 2011
@@ -18,11 +18,8 @@
 package org.apache.commons.sanselan.formats.jpeg.exif;
 
 import java.io.File;
-import java.io.IOException;
 import java.util.List;
 
-import org.apache.commons.sanselan.ImageReadException;
-import org.apache.commons.sanselan.ImageWriteException;
 import org.apache.commons.sanselan.examples.WriteExifMetadataExample;
 import org.apache.commons.sanselan.formats.jpeg.exif.ExifRewriter;
 import org.apache.commons.sanselan.formats.tiff.constants.AllTagConstants;
@@ -37,8 +34,7 @@ public class WriteExifMetadataExampleTes
     //        super(name);
     //    }
 
-    public void test() throws IOException, ImageReadException,
-            ImageWriteException
+    public void test() throws Exception
     {
         List images = getJpegImages();
         for (int i = 0; i < images.size(); i++)
@@ -68,8 +64,7 @@ public class WriteExifMetadataExampleTes
         }
     }
 
-    public void testInsert() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testInsert() throws Exception
     {
         List images = getJpegImages();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/iptc/IptcDumpTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/iptc/IptcDumpTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/iptc/IptcDumpTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/iptc/IptcDumpTest.java Tue Dec 20 18:29:33 2011
@@ -18,12 +18,10 @@
 package org.apache.commons.sanselan.formats.jpeg.iptc;
 
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.formats.jpeg.JpegImageMetadata;
 import org.apache.commons.sanselan.formats.jpeg.JpegPhotoshopMetadata;
@@ -34,7 +32,7 @@ import org.apache.commons.sanselan.util.
 public class IptcDumpTest extends IptcBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         List images = getImagesWithIptcData();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/iptc/IptcUpdateTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/iptc/IptcUpdateTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/iptc/IptcUpdateTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/iptc/IptcUpdateTest.java Tue Dec 20 18:29:33 2011
@@ -20,15 +20,12 @@ package org.apache.commons.sanselan.form
 import java.io.BufferedOutputStream;
 import java.io.File;
 import java.io.FileOutputStream;
-import java.io.IOException;
 import java.io.OutputStream;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.commons.sanselan.ImageReadException;
-import org.apache.commons.sanselan.ImageWriteException;
 import org.apache.commons.sanselan.common.bytesource.ByteSource;
 import org.apache.commons.sanselan.common.bytesource.ByteSourceFile;
 import org.apache.commons.sanselan.formats.jpeg.JpegImageParser;
@@ -60,8 +57,7 @@ public class IptcUpdateTest extends Iptc
     /*
      * Remove all Photoshop IPTC data from a JPEG file.
      */
-    public void testRemove() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testRemove() throws Exception
     {
         List images = imagesWithIptcData;
         for (int i = 0; i < images.size(); i++)
@@ -115,8 +111,7 @@ public class IptcUpdateTest extends Iptc
         }
     }
 
-    public void testRemoveInsertUpdate() throws IOException,
-            ImageReadException, ImageWriteException
+    public void testRemoveInsertUpdate() throws Exception
     {
         List images = imagesWithIptcData;
         for (int i = 0; i < images.size(); i++)
@@ -327,8 +322,7 @@ public class IptcUpdateTest extends Iptc
      * Add a few IPTC values to JPEG images, whether or not they have existing
      * IPTC data.
      */
-    public void testAddIptcData() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testAddIptcData() throws Exception
     {
         List images = getJpegImages();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/xmp/JpegXmpDumpTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/xmp/JpegXmpDumpTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/xmp/JpegXmpDumpTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/xmp/JpegXmpDumpTest.java Tue Dec 20 18:29:33 2011
@@ -18,12 +18,10 @@
 package org.apache.commons.sanselan.formats.jpeg.xmp;
 
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.common.bytesource.ByteSource;
 import org.apache.commons.sanselan.common.bytesource.ByteSourceFile;
 import org.apache.commons.sanselan.formats.jpeg.JpegImageParser;
@@ -32,7 +30,7 @@ import org.apache.commons.sanselan.util.
 public class JpegXmpDumpTest extends JpegXmpBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         List images = getImagesWithXmpData();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/xmp/JpegXmpRewriteTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/xmp/JpegXmpRewriteTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/xmp/JpegXmpRewriteTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/jpeg/xmp/JpegXmpRewriteTest.java Tue Dec 20 18:29:33 2011
@@ -20,14 +20,11 @@ package org.apache.commons.sanselan.form
 import java.io.BufferedOutputStream;
 import java.io.File;
 import java.io.FileOutputStream;
-import java.io.IOException;
 import java.io.OutputStream;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.commons.sanselan.ImageReadException;
-import org.apache.commons.sanselan.ImageWriteException;
 import org.apache.commons.sanselan.common.bytesource.ByteSource;
 import org.apache.commons.sanselan.common.bytesource.ByteSourceFile;
 import org.apache.commons.sanselan.formats.jpeg.JpegImageParser;
@@ -37,8 +34,7 @@ import org.apache.commons.sanselan.util.
 public class JpegXmpRewriteTest extends JpegXmpBaseTest
 {
 
-    public void testRemoveInsertUpdate() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testRemoveInsertUpdate() throws Exception
     {
         List images = getImagesWithXmpData();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/pcx/PcxReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/pcx/PcxReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/pcx/PcxReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/pcx/PcxReadTest.java Tue Dec 20 18:29:33 2011
@@ -19,13 +19,11 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -33,7 +31,7 @@ import org.apache.commons.sanselan.util.
 public class PcxReadTest extends PcxBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         Debug.debug("start");
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/ConvertPngToGifTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/ConvertPngToGifTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/ConvertPngToGifTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/ConvertPngToGifTest.java Tue Dec 20 18:29:33 2011
@@ -19,13 +19,10 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.Hashtable;
 import java.util.List;
 
 import org.apache.commons.sanselan.ImageFormat;
-import org.apache.commons.sanselan.ImageReadException;
-import org.apache.commons.sanselan.ImageWriteException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.util.Debug;
 
@@ -33,8 +30,8 @@ public class ConvertPngToGifTest extends
 
 
 
-    public void test() throws IOException, ImageReadException,
-            ImageWriteException {
+    public void test() throws Exception
+    {
 
         List images = getPngImages();
         for (int i = 0; i < images.size(); i++) {

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngMultipleRoundtripTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngMultipleRoundtripTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngMultipleRoundtripTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngMultipleRoundtripTest.java Tue Dec 20 18:29:33 2011
@@ -19,22 +19,18 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.Map;
 
 import org.apache.commons.io.FilenameUtils;
 import org.apache.commons.sanselan.ImageFormat;
-import org.apache.commons.sanselan.ImageReadException;
-import org.apache.commons.sanselan.ImageWriteException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.util.Debug;
 
 public class PngMultipleRoundtripTest extends PngBaseTest
 {
 
-    public void test() throws IOException, ImageReadException,
-            ImageWriteException
+    public void test() throws Exception
     {
         String imagesFolderPath = FilenameUtils.separatorsToSystem("src\\test\\data\\images\\png\\3");
         File imagesFolder = new File(imagesFolderPath);

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngReadTest.java Tue Dec 20 18:29:33 2011
@@ -19,11 +19,9 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.List;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -33,7 +31,7 @@ public class PngReadTest extends PngBase
 
 
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         Debug.debug("start");
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngTextTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngTextTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngTextTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngTextTest.java Tue Dec 20 18:29:33 2011
@@ -20,15 +20,12 @@ package org.apache.commons.sanselan.form
 import java.awt.Color;
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageFormat;
-import org.apache.commons.sanselan.ImageReadException;
-import org.apache.commons.sanselan.ImageWriteException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.formats.png.PngConstants;
 import org.apache.commons.sanselan.formats.png.PngImageInfo;
@@ -38,8 +35,7 @@ import org.apache.commons.sanselan.util.
 public class PngTextTest extends PngBaseTest
 {
 
-    public void test() throws IOException, ImageReadException,
-            ImageWriteException
+    public void test() throws Exception
     {
         int width = 1;
         int height = 1;

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngWriteForceTrueColorText.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngWriteForceTrueColorText.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngWriteForceTrueColorText.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngWriteForceTrueColorText.java Tue Dec 20 18:29:33 2011
@@ -30,7 +30,8 @@ import org.apache.commons.sanselan.util.
 
 public class PngWriteForceTrueColorText extends PngBaseTest {
 
-    public void test() throws Exception {
+    public void test() throws Exception 
+    {
 
         List images = getPngImages();
         for (int i = 0; i < images.size(); i++) {

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngWriteReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngWriteReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngWriteReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/png/PngWriteReadTest.java Tue Dec 20 18:29:33 2011
@@ -76,8 +76,7 @@ public class PngWriteReadTest extends Sa
         return result;
     }
 
-    public void test() throws IOException, ImageReadException,
-            ImageWriteException
+    public void test() throws Exception
     {
         int[][] smallBlackPixels = getSimpleRawData(256, 256, 0);
         int[][] singleBlackPixel = getSimpleRawData(1, 1, 0);
@@ -98,7 +97,7 @@ public class PngWriteReadTest extends Sa
         }
     }
 
-    public void testTransparency() throws IOException, ImageReadException, ImageWriteException
+    public void testTransparency() throws Exception
     {
         // Test for https://issues.apache.org/jira/browse/SANSELAN-52
         int[][] smallAscendingPixels = getAscendingRawData(256, 256);

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffLzwTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffLzwTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffLzwTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffLzwTest.java Tue Dec 20 18:29:33 2011
@@ -31,13 +31,13 @@ import org.apache.commons.sanselan.util.
 public class TiffLzwTest extends TiffBaseTest implements BinaryConstants
 {
 
-    public void testTrivial() throws IOException
+    public void testTrivial() throws Exception
     {
         byte bytes[] = { 0, };
         compressRoundtripAndValidate(bytes);
     }
 
-    public void testMedium() throws IOException
+    public void testMedium() throws Exception
     {
         int LENGTH = 1024 * 32;
         byte bytes[] = new byte[LENGTH];

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffReadTest.java Tue Dec 20 18:29:33 2011
@@ -19,11 +19,9 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.List;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -31,7 +29,7 @@ import org.apache.commons.sanselan.util.
 public class TiffReadTest extends TiffBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         List images = getTiffImages();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffRoundtripTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffRoundtripTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffRoundtripTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/tiff/TiffRoundtripTest.java Tue Dec 20 18:29:33 2011
@@ -19,23 +19,20 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageFormat;
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
-import org.apache.commons.sanselan.ImageWriteException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
 
 public class TiffRoundtripTest extends TiffBaseTest {
 
-    public void test() throws IOException, ImageReadException,
-            ImageWriteException {
+    public void test() throws Exception
+    {
         List images = getTiffImages();
         for (int i = 0; i < images.size(); i++) {
             if (i % 10 == 0)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/wbmp/WbmpReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/wbmp/WbmpReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/wbmp/WbmpReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/wbmp/WbmpReadTest.java Tue Dec 20 18:29:33 2011
@@ -17,13 +17,11 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -31,7 +29,7 @@ import org.apache.commons.sanselan.util.
 public class WbmpReadTest extends WbmpBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         Debug.debug("start");
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xbm/XbmReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xbm/XbmReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xbm/XbmReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xbm/XbmReadTest.java Tue Dec 20 18:29:33 2011
@@ -17,13 +17,11 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -31,7 +29,7 @@ import org.apache.commons.sanselan.util.
 public class XbmReadTest extends XbmBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         Debug.debug("start");
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xmp/XmpDumpTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xmp/XmpDumpTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xmp/XmpDumpTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xmp/XmpDumpTest.java Tue Dec 20 18:29:33 2011
@@ -18,10 +18,8 @@
 package org.apache.commons.sanselan.formats.xmp;
 
 import java.io.File;
-import java.io.IOException;
 import java.util.List;
 
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.SanselanTest;
 import org.apache.commons.sanselan.util.Debug;
@@ -29,7 +27,7 @@ import org.apache.commons.sanselan.util.
 public class XmpDumpTest extends SanselanTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         List images = getTestImages();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xmp/XmpUpdateTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xmp/XmpUpdateTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xmp/XmpUpdateTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xmp/XmpUpdateTest.java Tue Dec 20 18:29:33 2011
@@ -19,14 +19,11 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageFormat;
-import org.apache.commons.sanselan.ImageReadException;
-import org.apache.commons.sanselan.ImageWriteException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.SanselanTest;
 import org.apache.commons.sanselan.util.Debug;
@@ -34,8 +31,7 @@ import org.apache.commons.sanselan.util.
 public class XmpUpdateTest extends SanselanTest
 {
 
-    public void test() throws IOException, ImageReadException,
-            ImageWriteException
+    public void test() throws Exception
     {
         List images = getTestImages();
         for (int i = 0; i < images.size(); i++)

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xpm/XpmReadTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xpm/XpmReadTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xpm/XpmReadTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/formats/xpm/XpmReadTest.java Tue Dec 20 18:29:33 2011
@@ -17,13 +17,11 @@ package org.apache.commons.sanselan.form
 
 import java.awt.image.BufferedImage;
 import java.io.File;
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
 import org.apache.commons.sanselan.ImageInfo;
-import org.apache.commons.sanselan.ImageReadException;
 import org.apache.commons.sanselan.Sanselan;
 import org.apache.commons.sanselan.common.IImageMetadata;
 import org.apache.commons.sanselan.util.Debug;
@@ -31,7 +29,7 @@ import org.apache.commons.sanselan.util.
 public class XpmReadTest extends XpmBaseTest
 {
 
-    public void test() throws IOException, ImageReadException
+    public void test() throws Exception
     {
         Debug.debug("start");
 

Modified: commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/roundtrip/RoundtripTest.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/roundtrip/RoundtripTest.java?rev=1221410&r1=1221409&r2=1221410&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/roundtrip/RoundtripTest.java (original)
+++ commons/proper/sanselan/trunk/src/test/java/org/apache/commons/sanselan/roundtrip/RoundtripTest.java Tue Dec 20 18:29:33 2011
@@ -279,8 +279,7 @@ public class RoundtripTest extends Sanse
         }
     }
 
-    public void testBitmapRoundtrip() throws IOException, ImageReadException,
-            ImageWriteException
+    public void testBitmapRoundtrip() throws Exception
     {
         BufferedImage testImages[] = { //
 
@@ -312,8 +311,7 @@ public class RoundtripTest extends Sanse
         }
     }
 
-    public void testGrayscaleRoundtrip() throws IOException,
-            ImageReadException, ImageWriteException
+    public void testGrayscaleRoundtrip() throws Exception
     {
         BufferedImage testImages[] = { //
 
@@ -349,8 +347,7 @@ public class RoundtripTest extends Sanse
         }
     }
 
-    public void testLimitedColorRoundtrip() throws IOException,
-            ImageReadException, ImageWriteException
+    public void testLimitedColorRoundtrip() throws Exception
     {
         BufferedImage testImages[] = { //
 
@@ -383,8 +380,7 @@ public class RoundtripTest extends Sanse
         }
     }
 
-    public void testFullColorRoundtrip() throws IOException,
-            ImageReadException, ImageWriteException
+    public void testFullColorRoundtrip() throws Exception
     {
         BufferedImage testImages[] = { //
 



Mime
View raw message