You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2011/09/29 03:10:43 UTC

svn commit: r1177141 - /xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogException.java

Author: mrglavas
Date: Thu Sep 29 01:10:42 2011
New Revision: 1177141

URL: http://svn.apache.org/viewvc?rev=1177141&view=rev
Log:
Marking a couple fields final and adding a serialVersionUID.

Modified:
    xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogException.java

Modified: xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogException.java
URL: http://svn.apache.org/viewvc/xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogException.java?rev=1177141&r1=1177140&r2=1177141&view=diff
==============================================================================
--- xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogException.java (original)
+++ xml/commons/trunk/java/src/org/apache/xml/resolver/CatalogException.java Thu Sep 29 01:10:42 2011
@@ -33,6 +33,9 @@ package org.apache.xml.resolver;
  * @version 1.0
  */
 public class CatalogException extends Exception {
+
+  private static final long serialVersionUID = 4007157171817798450L;
+  
   /** A wrapper around another exception */
   public static final int WRAPPER = 1;
   /** An invalid entry */
@@ -53,8 +56,8 @@ public class CatalogException extends Ex
   /**
    * The embedded exception if tunnelling, or null.
    */
-  private Exception exception = null;
-  private int exceptionType = 0;
+  private final Exception exception;
+  private final int exceptionType;
 
   /**
    * Create a new CatalogException.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org