@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; OhlohException other = (OhlohException) obj; if (response == null) { if (other.response != null) return false; } else if (!response.equals(other.response)) return false; if (statusCode != other.statusCode) return false; return true; }