docs: public static XAException createXAException(String key, Object args, int xaErrorCode) {
          XAException xaX = new XAException(
                          args == null ?
                                          getNLSMessage(key) :
                                          getNLSMessage(key, args));
  
          xaX.errorCode = xaErrorCode;
  
          return xaX;
      }