package uk.co.coinfloor.api;

public class CoinfloorException extends Exception {

	private static final long serialVersionUID = 0L;

	private final int errorCode;
	private final String errorMessage;

	public CoinfloorException(int errorCode, String errorMessage) {
		super(errorMessage);
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}

	public int getErrorCode() {
		return errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	@Override
	public String getMessage() {
		return errorMessage == null ? '<' + String.valueOf(errorCode) + '>' : '<' + String.valueOf(errorCode) + "> " + errorMessage;
	}

}

@@ -160,44 +160,8 @@
 ode;
-%0A%09private final String errorMessage;
 %0A%0A%09p
@@ -280,44 +280,8 @@
 de;%0A
-%09%09this.errorMessage = errorMessage;%0A
 %09%7D%0A%0A
@@ -377,28 +377,34 @@
 %09return 
-error
+super.get
 Message
+()
 ;%0A%09%7D%0A%0A%09@
@@ -434,32 +434,76 @@
  getMessage() %7B%0A
+%09%09String errorMessage = super.getMessage();%0A
 %09%09return errorMe

remove redundant field in CoinfloorException