@Override public boolean equals(@Nullable final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) { return false; } final BatchNotExecutableException that = (BatchNotExecutableException) o; return Objects.equals(batchId, that.batchId) && Objects.equals(commandCorrelationId, that.commandCorrelationId); }
@Override public boolean equals(@Nullable final Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } final MessageFormatInvalidException that = (MessageFormatInvalidException) o; return Objects.equals(validationErrors, that.validationErrors); }