code: @Trivial
      public final short getReason() {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(this, tc, "getReason", toString(reason));
          return reason;
      }
docs: Returns the reason code for the task failure.
  
  @return the reason code for the task failure.