commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1545241 - in /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging: ./ common/itu_t4/ formats/jpeg/exif/ formats/jpeg/xmp/
Date Mon, 25 Nov 2013 12:13:15 GMT
Author: ebourg
Date: Mon Nov 25 12:13:15 2013
New Revision: 1545241

URL: http://svn.apache.org/r1545241
Log:
Renamed the parameters of the exceptions

Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageReadException.java
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageWriteException.java
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImagingException.java
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/itu_t4/HuffmanTreeException.java
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/xmp/JpegRewriter.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageReadException.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageReadException.java?rev=1545241&r1=1545240&r2=1545241&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageReadException.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageReadException.java
Mon Nov 25 12:13:15 2013
@@ -24,11 +24,11 @@ package org.apache.commons.imaging;
 public class ImageReadException extends ImagingException {
     private static final long serialVersionUID = -1L;
 
-    public ImageReadException(final String s) {
-        super(s);
+    public ImageReadException(final String message) {
+        super(message);
     }
 
-    public ImageReadException(final String s, final Exception e) {
-        super(s, e);
+    public ImageReadException(final String message, final Throwable cause) {
+        super(message, cause);
     }
 }

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageWriteException.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageWriteException.java?rev=1545241&r1=1545240&r2=1545241&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageWriteException.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageWriteException.java
Mon Nov 25 12:13:15 2013
@@ -22,13 +22,13 @@ package org.apache.commons.imaging;
  * condition that renders image data unwritable.
  */
 public class ImageWriteException extends ImagingException {
-    static final long serialVersionUID = -1L;
+    private static final long serialVersionUID = -1L;
 
-    public ImageWriteException(final String s) {
-        super(s);
+    public ImageWriteException(final String message) {
+        super(message);
     }
 
-    public ImageWriteException(final String s, final Exception e) {
-        super(s, e);
+    public ImageWriteException(final String message, final Throwable cause) {
+        super(message, cause);
     }
 }

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImagingException.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImagingException.java?rev=1545241&r1=1545240&r2=1545241&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImagingException.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImagingException.java
Mon Nov 25 12:13:15 2013
@@ -23,11 +23,11 @@ package org.apache.commons.imaging;
 public class ImagingException extends Exception {
     private static final long serialVersionUID = -1L;
 
-    public ImagingException(final String s) {
-        super(s);
+    public ImagingException(final String message) {
+        super(message);
     }
 
-    public ImagingException(final String s, final Exception e) {
-        super(s, e);
+    public ImagingException(final String message, final Throwable cause) {
+        super(message, cause);
     }
 }

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/itu_t4/HuffmanTreeException.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/itu_t4/HuffmanTreeException.java?rev=1545241&r1=1545240&r2=1545241&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/itu_t4/HuffmanTreeException.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/common/itu_t4/HuffmanTreeException.java
Mon Nov 25 12:13:15 2013
@@ -23,7 +23,7 @@ class HuffmanTreeException extends Excep
         super(message);
     }
 
-    public HuffmanTreeException(final String message, final Throwable throwable) {
-        super(message, throwable);
+    public HuffmanTreeException(final String message, final Throwable cause) {
+        super(message, cause);
     }
 }

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java?rev=1545241&r1=1545240&r2=1545241&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java
Mon Nov 25 12:13:15 2013
@@ -566,8 +566,8 @@ public class ExifRewriter extends Binary
     public static class ExifOverflowException extends ImageWriteException {
         private static final long serialVersionUID = 1401484357224931218L;
 
-        public ExifOverflowException(final String s) {
-            super(s);
+        public ExifOverflowException(final String message) {
+            super(message);
         }
     }
 

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/xmp/JpegRewriter.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/xmp/JpegRewriter.java?rev=1545241&r1=1545240&r2=1545241&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/xmp/JpegRewriter.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/jpeg/xmp/JpegRewriter.java
Mon Nov 25 12:13:15 2013
@@ -339,12 +339,11 @@ public class JpegRewriter extends Binary
     // os.write(piece.segmentData);
     // }
 
-    public static class JpegSegmentOverflowException extends
-            ImageWriteException {
+    public static class JpegSegmentOverflowException extends ImageWriteException {
         private static final long serialVersionUID = -1062145751550646846L;
 
-        public JpegSegmentOverflowException(final String s) {
-            super(s);
+        public JpegSegmentOverflowException(final String message) {
+            super(message);
         }
     }
 



Mime
View raw message