package io.zensend;

import java.math.BigDecimal;

public class ZenSendException extends Exception {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    public int httpCode;
    public String failCode;
    public String parameter;
    public BigDecimal costInPence;
    public BigDecimal newBalanceInPence;

    public ZenSendException(int httpCode, String failCode, String parameter, BigDecimal costInPence, BigDecimal newBalanceInPence) {
        this.httpCode = httpCode;
        this.failCode = failCode;
        this.parameter = parameter;
        this.costInPence = costInPence;
        this.newBalanceInPence = newBalanceInPence;
    }

    public String getMessage() {
        return "HTTP Code: " + this.httpCode + ". Fail Code: " + this.failCode + ". Parameter: " + this.parameter;
    }
}
@@ -182,16 +182,22 @@
  public 
+final 
 int http
@@ -209,24 +209,30 @@
 %0A    public 
+final 
 String failC
@@ -243,24 +243,30 @@
 %0A    public 
+final 
 String param
@@ -274,32 +274,38 @@
 ter;%0A    public 
+final 
 BigDecimal costI
@@ -323,16 +323,22 @@
  public 
+final 
 BigDecim

make exception fields final