public boolean isDoNotRetry() {
    return this.doNotRetry;
  }
Returns True if origin exception was a do not retry type.
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RemoteWithExtrasException.java