public class ErrorCodeException extends Exception {
 
   private static final long serialVersionUID = 3220072444842529499L;
-  private int categoryCode = 0;
-  private int errorCode = 1;
-  private String[] arguments = null;
+  private final int categoryCode;
+  private final int errorCode;
+  private final String[] arguments;
 
   private static String defaultText = null;
 
     super(debugMessage);
     this.errorCode = code;
     this.arguments = arguments;
+    this.categoryCode = 0;
   }
 
 
     super(source);
     this.errorCode = code;
     this.arguments = arguments;
+    this.categoryCode = 0;
   }
 
 
     super(debugMessage, source);
     this.errorCode = code;
     this.arguments = arguments;
+    this.categoryCode = 0;
   }